-
Notifications
You must be signed in to change notification settings - Fork 85
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
Break long lines #22
Comments
Did you fixed it? I don't see any issue here. |
Oh sorry you want support for |
I totally understand that. But as you can see, these long lines are really hard to read and its even harder to modify the code inside. |
I agree. But word wraps also makes the code hard to scan... You can't follow where's the line break, indentation etc. |
Sorry for late answer. The usecase is the following: I am using a wysiwyg editor (tiptap) for editing website content. This editor (like most others) doesn't add linebreaks in the result HTML, which is stored into the database. I also want to edit this data as plain html, so I thought, I can use prism for it. But the problem is, that I have for example a 600 words long text plus html, without linebreak. So prism is useless in this situation, without word wrap. |
I have the same question/issue. Do you have a recommendation on how to implement with vue-prism-editor? |
@tomgalpin we don't support prism plugins. |
If the code is very long, without linebreak, it will exceed the line. Is there a way, to autobreak (word-break?) it?
Example:
https://codepen.io/anon/pen/MMabjY
The expected behavior would be:
The text was updated successfully, but these errors were encountered: