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.

#100848 on enter instead of just

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 tmichel on Thursday, 22 August 2019 02:30 BST

tmichel
Ryan, is it possible to have the behavior of the Enter key be <div> container <div class-"acyparagraph"> instead of the default behavior.

I am trying to get newsletters to display properly in Outlook and I need ACYMailing to replace the divs with class="acyparagraph" with the class definition information so that I have <div>s instead of <p>s and specifically <div class="acyparagraph> so that only text divs get replaced.

I would like ACYMailing to replace <p> tags with <div style="font-family:helvetica neue, helvetica, arial, san-serif;font-size:16px;color:#575757;font-weight:normal;margin:0 12px 12px;"> but I don't think it does that without some significant rework.

Ryan
You can set the enter key behaviour in the Editor Global Configuration for all profiles, or for an individual profile in Editor Profiles -> Editor Parameters -> Typography. Setting the option to DIV Container and DIV on Enter will produce <div> tags instead of <p> tags on Enter.

Ryan Demmer

Lead Developer / CEO / CTO

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

tmichel
Thanks, but I was hoping to customize to add a class name inside the div at the same time.

I think I will just use custom styles to accomplish this.