Skip to content
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

Code Highlighting works in edit, not in display - Help fix it #359

Open
yozart opened this issue Aug 6, 2024 · 0 comments
Open

Code Highlighting works in edit, not in display - Help fix it #359

yozart opened this issue Aug 6, 2024 · 0 comments

Comments

@yozart
Copy link

yozart commented Aug 6, 2024

Hello,

I did several fixes on the Nomadli fork of this CKeditor but I'm facing an issue I don't know how to fix :
When you adding some code, it will highlight it correctly when you are in the text editor but once submitted, it won't display the code highlighted. If anyone knows how to fix this, I can add to my version available at :
https://github.com/yozart/redmine_ckeditor

Edit Mode
image

Preview & Display Mode
image

I guess we should be able to send the HTML code generated to be saved in DB so it will display correctly (or there is a better way of doing it ?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant