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.

#112486 Code view question

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 Ryan on Friday, 02 December 2022 16:27 GMT

ant
Hi Ryan
I have a page with dozens of <p> and <div>
to control the start and end of each in code view I used a line for each <p> and each <div>. This way I visually have one line for each paragraph or div.
When I reopened the page I found the code with all new lines removed (see screenshot).
Is it possible to set JCE not to remove them?
Thank you

Attachments

Ryan
Whitespace in-between tags (newlines, spaces etc.) is removed when the HTML code is processed.

If you edit the code in the Code tab (assuming you have JCE Pro installed and the Code Editor enabled), the code will be formatted for readability.

Ryan Demmer

Lead Developer / CEO / CTO

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