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 is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#116394 Switch to JCE visual editor tab reduce empty lines in code.

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by asmol on Saturday, 09 March 2024 11:24 GMT

asmol
Hi all!
Quite a long time ago, I encountered the following problem: when switching tabs of the code and visual editor, empty lines in the code disappear. Could you tell me how to fix this problem?

Ryan
Empty lines or spaces between elements don't represent anything and have no function in HTML other than for visual purposes. When the code is processed by the editor - when going from the Editor tab to the Code tab, or when saving - this whitespace is removed as a consequence of this process and cannot be returned.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

asmol
I understand. But maybe in future versions of the editor it will be possible to fix this bug, because in an editor such as Codemirror, empty lines are saved. I'm not pushing the picture, I just would like this feature to be added in the future. ;)