Ticket #623 (closed Improvement)
Please add text color as a feature of the HTML editor
| Reported by: | apratt@… | Owned by: | somebody |
|---|---|---|---|
| Priority: | Minor | Milestone: | |
| Component: | Frontend - doc editing - HTML | Version: | 2.1 |
| Keywords: | Cc: |
Description
[jira2trac import : issue created on March 6, 2008 1:07:48 AM CET http://issues.cocoondev.org/browse/DSY-623 ]
The WYSIWYG editor for Daisy does not include a way to set the text color. My group was using this in a previous wiki to indicate different authors of different paragraphs. We miss it. The rich-text editors of other wikis support this, but not Daisy.
Change History
comment:2 Changed 3 years ago by paul
[jira2trac import : comment created by apratt on March 6, 2008 6:53:55 PM CET]
The ability to set text color is a feature of the WYSIWYG editor in the other wiki. There was no automatic feature to identify authors by color. We used color to distinguish a comment from original content, and two people commenting on the same document would choose different colors to set their contributions off. It worked really well for the short time we used it.
I discovered a workaround: use an editor that does let you set text color (like MS Word) and copy-and-paste the colored text into the Daisy editor. This works: the color attributes are preserved by the edit control even though the JavaScript? doesn't expose a way to change them.
It's not a great hardship but it is a feature request. Now that I know Daisy uses htmlarea and that project isn't being supported any more, maybe the right answer is to consider a different, supported rich-text editor.
comment:3 Changed 3 years ago by paul
[jira2trac import : comment created by karel on March 7, 2008 9:35:21 AM CET]
Daisy already supports colors: HTMLArea can handle them (as you can see when pasting from word), but the html-cleaner is configured in such a way that the color information is discarded.
The htmlcleaner behaviour and the htmlarea toolbar can both be configured with little effort - feel free to experiment with them and consult the mailing list if you get stuck.
I know you consider this a feature request, but from our point of view, it is merely a request to change the default configuration, which we are not planning to change soon: we like the nice clean and consistent look that follows from not allowing arbitrary font styles)
comment:4 Changed 3 years ago by paul
[jira2trac import : comment created by jano on March 7, 2008 10:34:54 AM CET]
Good you insist on the design, Karel. Adding colors would goes against using styles. Using solely styles (no fonts or color changes) is one big plus for Diasy and one of the reasons I've chosen Diasy.
Adding custom styles to Daisy is the way to go, Allan: http://cocoondev.org/wiki/g1/215-cd.html
[jira2trac import : comment created by karel on March 6, 2008 9:45:09 AM CET]
Did you choose colors manually or were they assigned by the wiki you were using?
If the number of authors is fairly limited you could try by customising the editor (i.e. creating a paragraph style for each editor). (If it is a manual process I would prefer simply adding the author's name to each paragraph).
Anyway if you simply want to find out who said what you could check the html versions page and diff views. (Although it would be rather clumsy for regular use)
What about a feature like svn blame/praise/annotate?