maxnegro / joplin-plugin-admonition

Joplin markdown plugin for custom containers
36 stars 4 forks source link

Add WYSIWYG support #6

Open JojoBr0 opened 2 years ago

JojoBr0 commented 2 years ago

It would be nice to have the ability to show the rendered admonition in WYSIWYG editor.

maxnegro commented 2 years ago

I would love to implement it, but I didn't study enough Joplin environment. Contributions are welcome, though.

marph91 commented 1 year ago

As workaround, you could paste https://github.com/maxnegro/joplin-plugin-admonition/blob/main/src/markdownit-admonition.css in your userstyle.css. At least that worked for me.

Not sure why the CSS is not working in the first place. Maybe registering as plugin would help. The contentScript might be ignored when using the WYSIWYG editor.