mlazdans / qnote

QNote add-on for Thunderbird email application
13 stars 4 forks source link

Feature reguest: Formatting of text #52

Open adambyw opened 1 month ago

adambyw commented 1 month ago

I like your add-on very much. One thing that I find a bit missing and disturbing is the support of text formatting. And I don't even mean some styles which yes would be helpful, but would certainly complicate things. Often when making notes in the editing window I use a new line, which is useful for noting down, for example, an address or a telephone number. And it shows up correctly in the editor window. But the same message in the window already appears on one line, which drastically reduces the readability of the note. In html you would need to use the <pre> tag to solve this problem, or use the css property white-space: pre;

qnote

mlazdans commented 1 month ago

Will make this configurable at some point because other users prefer current formatting.

adambyw commented 1 month ago

For those who would like to do this themselves, there is such an option.

In the profile directory, find or create the directory "chrome" and in it find or create the file userContent.css with the content: .qnote-text{ white-space: pre; } Then in thunderbird, open the "Settings Editor" and set the toolkit.legacyUserProfileCustomizations.stylesheets property to "true". Otherwise, the css file will not work.