-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Rich Text Editor should not destroy markdown #9929
Comments
This typogram contains valid Markdown elements so the RTE doesn't "destroy" it, it renders it. To prevent valid Markdown from being rendered, you need to wrap it in a code block (maybe that's something that the plugin needs to fix) |
@laurent22 Please reopen, I think the issue got misunderstood. Of course I fenced the typogram - the confusion arose because here in github the fences are not shown. I now managed to show them - see above |
Would you mind sharing the whole note as a Markdown file so that we can see exactly how it looks? |
try this one:
|
There is now an example available for how to make a renderer plugin work in the rich text editor: joplin/packages/app-cli/tests/support/plugins/content_script/src/markdownItTestPlugin.ts Lines 27 to 34 in a59ad20
joplin/packages/app-cli/tests/support/plugins/content_script/src/markdownItTestPlugin.ts Lines 36 to 38 in a59ad20
The Edit: See also #10178 |
Since it's not something that we can fixed I reported it on the plugin repository: cwesson/joplin-plugin-typograms#1 |
Operating system
Linux
Joplin version
2.13.2
Desktop version info
Joplin 2.13.12 (prod, linux)
Client ID: c7dff86521c841b8b1f92fa6239cc51c
Sync Version: 3
Profile Version: 44
Keychain Supported: No
Revision: e027cdc
OCR: 0.3.2
Outline: 1.5.13
Typograms: 1.0.0
Current behaviour
Expected behaviour
Even though the Rich Text Editor does not support all plugins smoothly, it should not destroy such information, shouldn't it?
Logs
No response
The text was updated successfully, but these errors were encountered: