Opened 10 years ago
Closed 3 years ago
#439 closed enhancement (fixed)
Rich-text editing of notes and fields
| Reported by: | dstillman | Owned by: | dstillman |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | interface | Version: | 1.5 |
| Keywords: | Cc: |
Description
Attachments (1)
Change History (17)
comment:1 Changed 10 years ago by dstillman
- Milestone changed from 1.0 Beta 4 to 1.1 Beta
- Version changed from 1.0 to 1.1
comment:2 Changed 10 years ago by dstillman
comment:3 Changed 10 years ago by dstillman
- Summary changed from Rich-text editing of notes to Rich-text editing of notes and fields
Requested for fields too: http://forums.zotero.org/discussion/336/?Focus=1198
"Article titles often have italicized or underlined text, so text formatting in fields (at least certain ones) is critical."
comment:4 follow-up: ↓ 5 Changed 9 years ago by stakats
Based on the forums, it looks like we could begin with support of just underline, bold, italics in note editor. Would also strongly recommend the ability to increase the note font size for readability. No need even to add buttons, just ctrl-u, -b, -i, plus or minus.
Could add the same functionality (without resize) to title fields.
comment:5 in reply to: ↑ 4 Changed 9 years ago by bdarcus
Replying to stakats:
Based on the forums, it looks like we could begin with support of just underline, bold, italics in note editor. Would also strongly recommend the ability to increase the note font size for readability. No need even to add buttons, just ctrl-u, -b, -i, plus or minus.
I suggest the font size (and maybe family) be a global option, but that it not be able to be set at the note level until real support for semantic tagging or styling is added.
comment:6 Changed 9 years ago by bdarcus
BTW, see OmniOutliner Pro for custom named styles. It works for well for this kind of use case. For example, I have styles for quotation, and I can then use their XSLT-based eport plug-in system to transform that to appropriate XHTML (or other formats).
comment:7 Changed 9 years ago by stakats
Affected fields would likely be: title, shortTitle, and abstractNote
comment:8 Changed 8 years ago by stakats
- Priority changed from minor to major
Bumping up the priority here a bit, since this is one of the few remaining areas where we have a notable functionality gap compared to other reference management software. Where are we on resolving this issue? I'm becoming concerned that we've reached a stalemate here and just need to implement something, anything, that will let users add some basic formatting, notably italics in titles.
comment:9 Changed 8 years ago by fgibbs
It might be nice to have the formatting commands consistent across Zotero, and i'm thinking in particular about concordance between this ticket and the custom style editor. For that i've implemented <i>, <b>, <u> for basic formatting because it's intuitive, easy to remember, and easy to document with examples. It could be easily extended to support <sup>, <sub>, etc. for formulas and other style-related requests that have appeared in the forums. (of course it can be changed.) Whatever we do, we should coordinate a consistent implementation across places where the user needs to specify style information.
comment:10 Changed 8 years ago by mdoube
- Cc michael@… added
comment:11 Changed 8 years ago by rmzelle
- Cc rmzelle added
comment:12 Changed 8 years ago by fbennett
I think you want to avoid the pitfall of visual markup here. If a term within a field is set to render in italic, that's going to be swallowed if the style applies italic to the entire string. For fields, in most (possibly all) cases, what you need is a means of specifying that a term in the field be set in an alternative typeface, and let the style engine decide what that's going to be. I'm uploading a knuckle-headed but fairly simple patch that implements a limited version of this as wiki markup (rm to italic, italic to rm). To make things more robust (for rm to underline, say) would require a small extension to CSL in order to give the style control over the choice of typeface.
comment:13 Changed 8 years ago by fbennett
- Cc bennett@… added
comment:14 Changed 6 years ago by dstillman
- Milestone 2.0 Beta 3 deleted
Milestone 2.0 Beta 3 deleted
comment:15 Changed 6 years ago by fbennett
(Just adding a note here of what everyone already knows, that citeproc-js provides support for in-field rich text markup.)
comment:16 Changed 3 years ago by dstillman
- Cc michael@… rmzelle bennett@… removed
- Resolution set to fixed
- Status changed from new to closed
See also Bruce's comments re: wiki markup/sourcing: http://forums.zotero.org/discussion/210/#Item_4