Notes : My zotero text editor is limited compared to others
Hello there,
I'm getting used to zotero with tutorials online and am making good progresses to integrate it as my main research tool.
However, I'm a little intrigued by my text editor in my notes which looks different and has far fewer options than people who submit tutorials online seem to have.
I would especially love to be able to have titles with a nice line underneath. It totally makes me dream. Do you know what this is due to? Do I have to download an extension to also have access to the dream world of beautiful text editors? Or does it come from elsewhere?
Thank you very much in advance!
I'm getting used to zotero with tutorials online and am making good progresses to integrate it as my main research tool.
However, I'm a little intrigued by my text editor in my notes which looks different and has far fewer options than people who submit tutorials online seem to have.
I would especially love to be able to have titles with a nice line underneath. It totally makes me dream. Do you know what this is due to? Do I have to download an extension to also have access to the dream world of beautiful text editors? Or does it come from elsewhere?
Thank you very much in advance!
https://www.zotero.org/blog/zotero-6/
The new note editor is more powerful in many ways (some explained in that post), but various formatting options have moved. Underline is just in the Aa menu, or by using the standard keyboard shortcut (Ctrl/Cmd-U).
Regarding titles, I didn't meant underline but was referencing to this kind of heading who was possible in the older version ("Heading 2" style with a line underneath to separate it from the text underneath). Here is a link to a screenshot:
https://drive.google.com/file/d/1EYYxBcRzfY-7V7GeHx1WM5tt26dxXHYn/view?usp=share_link
Is it still possible to do this kind of heading in the notes ? Also, when formating the text, how can I center text, squeeze it left or right, or indent paragraphs ?
Thanks again for your precious help !
If you know some CSS, you can customize note styling using the
note.css
hidden pref. E.g., to underline Heading 2, you'd use this:h2 { text-decoration: underline }
And then restart Zotero.
But that's an advanced feature, and we can't really help with that.
Does the version 6 offer the possibility to center text in the notes, squeeze it left or right, or indent paragraphs ?
h1 { border-bottom-style: solid; }
or
h2 { border-bottom-style: solid; }
I should note that some CSS parameters do not affect the display, for example including font-size in the brackets above does not change the title size (Zotero 6.0.23 on MacOS 12.6.5)
I'm assuming that ProseMirror (the engine behind the new note editor) makes it much harder to allow for custom formatting in notes - all of the new breed of "block" editors (not just those based on ProseMirror) seem to have ditched rich text formatting beyond the bare basics of italics, bold, underline, text color and highlights.
Personally I'm still desperately hoping that some more formatting options are in the pipeline (perhaps in the upcoming v7). The devs have recently added the ability to change text color, and have expanded the color palette for text and highlights slightly (although it's still very constrained, with some odd choices - the text colors, for example, are only slightly more saturated than the highlight colors).
For me a customizable color palette and the ability to set custom fonts (at least at the block level, if not inline) are still very high on my wishlist.
!important
to override a built-in style with higher specificity.h2 { font-size: 20px !important; color: red !important; }
works perfectly fine.I've managed to get set the formatting for headings, paragraphs, monospaced, lists, and blockquotes from the Note.css. This includes changing colors, background-colors, line-spacing, margins, padding, and font-family for specific elements. Setting a background-color for the body also works.
(If anyone wants more info, you could check out the thread "Make note editor beautiful" :
https://forums.zotero.org/discussion/86855/make-note-editor-beautiful
or I'm happy to share my code.)
We are, however, limited to formatting the default elements included in notes - there is no option for custom elements (which were possible in the old note editor, but did require editing the HTML code of your note, which isn't for everyone!).
Is it possible to include a user customizable element in the new editor, that can be formatted via Note.css?
Also, is it possible to customize the highlight and text colors through Note.css?
Thanks!
"Colors are strange - if you add a color to a heading in note.css the heading in the format menu will take the color, but not the heading in the actual note."
Though he said he solve the problem, I didn't see the solution in his code:https://forums.zotero.org/discussion/86855/make-note-editor-beautiful
And the "!important" recommended by dstillman doesn't help either.
This problem is also reported by Aionia https://forums.zotero.org/discussion/102131/can-not-change-text-color-in-notes-by-editing-extensions-zotero-note
I hope someone can help with the specific code, thanks a lot!
If you add the following to the note.css dialog, you should get navy blue colored headings:
h1,h2,h3 {color: navy !important;}
If you leave out the !important bit the Format menu will show navy headings, but they won't appear in the note.
The code mentioned in Aionia’s post won't work, because you need to specify the color for the text elements (headings and paragraphs) separately from the body.