-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom CSS inconsistently applied to HTML notes #9570
Comments
|
It was enabled before but later disabled because it caused too many conflicts with the html's own css. In general html notes come from web pages which are all very different, so trying to apply a uniform style to all of them is not doable. You can imagine for example a div with a black background, and a css that forces the font to be black too, making the text unreadable |
|
This was originally requested on the forum, for Evernote imports: https://discourse.joplinapp.org/t/feature-request-use-custom-css-userstyle-css-in-evernote-notes-imported-as-html-shown-in-iframe/34531/7. (I'm unsure why users are importing as HTML instead of as markdown).
As custom CSS is set by the user, we could add an additional class to :root.markdown-viewer {
/*Styles to apply to markdown only*/
}As such, it should be possible to support this (and allow users to have different custom CSS for HTML and markdown notes). Currently custom CSS is only sometimes applied (in the rich text editor after switching from a markdown note, presumably because state is not being cleared). I've updated the issue to reflect this. |
|
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
|
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, feel free to create a new issue with up-to-date information. |
Operating system
Linux
Joplin version
2.13.9
Desktop version info
Joplin 2.13.9 (prod, linux)
Client ID: 24b2a961cccf40fe8448cdc0930b6fce
Sync Version: 3
Profile Version: 44
Keychain Supported: No
Revision: 1bbec44
Freehand Drawing: 2.7.1
RevealJS Integration: 0.6.1
Simple Backup: 1.3.4
Work tracker: 0.0.1
Current behaviour
Currently, custom CSS is only applied after switching from a markdown note to an HTML note (rich text editor).
Edited: Edited to reflect that custom CSS sometimes loads.
Expected behaviour
Logs
No response
The text was updated successfully, but these errors were encountered: