You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Editor
- Keep Markup indentation in code editor
Support is currently Offline
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Please post your question in the Forum and we will get back to you as soon as we can.
Hello, when i write html code in code editor with good indentation then i switch to WYSIWYG HTML editor i go back to code editor and my markup is break, any solution to keep correct markup.
see screenr https://www.loom.com/share/0cc52e55e7a64a1c8d6700fa62322f57
thanks.
2.8.0-rc19
see screenr https://www.loom.com/share/0cc52e55e7a64a1c8d6700fa62322f57
thanks.
2.8.0-rc19
any solution to keep correct markup.
Unfortunately this is not possible. When content is loaded into the editor (or when switching from the Code tab to the Editor tab), HTML is converted into a format in which it can be more easily and efficiently manipulated, then converted back to HTML for display in the editor. This process removes the whitespace (tabs, spacing etc.) between HTML tags, which is irrelevant to the rendering and display of HTML.
The Code editor does attempt to format the HTML again for readability when you switch to the Code tab, but any custom formatting you may have added before would have been removed.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!