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.

#100511 How can I get JCE Editor Pro to insert tag when pressing enter within a tag?

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 Thursday, 11 July 2019 11:16 BST

bruneyd
How can I get JCE Editor Pro to insert the <p> tag when pressing enter within the <div> tag?

There seems to be a serious issue here. It seem to enter line break tags instead.

Thanks

Ryan
If you press enter within <div> tag, then a <div> is created. To create a paragraph on enter within a <div> tag, you must already be inside an existing paragraph.

So, if you want a group of paragraphs within a <div>, start with a paragraph, then select Div Container from the format menu. This will wrap the paragraph in a <div>, and then pressing Enter will create a new paragraph.

https://cdn.joomlacontenteditor.net/tmp/100511-how-can-i-get-jce-editor-pro-to-insert-tag-when-pressing-enter-within-a-tag.gif

A linebreak is created when pressing SHIFT + Enter.

Ryan Demmer

Lead Developer / CEO / CTO

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