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

HTML syntax highlighting misalignes text (at least on Chrome) #2216

Open
cbertelli opened this issue Dec 22, 2024 · 2 comments
Open

HTML syntax highlighting misalignes text (at least on Chrome) #2216

cbertelli opened this issue Dec 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cbertelli
Copy link

Version:

  • listmonk: 4.1.0
  • OS: MacOS 13.7.1
  • Browser: Chrome v. 115.0.5790.60

Description of the bug and steps to reproduce:
When writing content in html or editing html code in the rich text editor, multiline text gets misaligned and becomes difficult to modify.

Screenshots:
Screenshot 2024-12-22 alle 20 34 37

@cbertelli cbertelli added the bug Something isn't working label Dec 22, 2024
@knadh
Copy link
Owner

knadh commented Jan 5, 2025

This is an issue with the underlying codeflask lib. It's replacement with a better lib is being tracked here: #2139

@cbertelli
Copy link
Author

Thank you. By now I think it would be mitigated il word wrap could be disabled.
A somehow puzzling alert comes out when willing to go from Rich Text to Raw HTML. Why should I lose something? I thought that Rich Text->Soucrce Code View should be the same as Raw HTML. Passing from Rich Text to HTML should not lose anything, maybe passing from Raw HTML to Rich Text could enable some sanification, but nothing more.
This seems off topic, but the user experience is the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants