Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Assigning a class to the <P> tag by default????
Ninerfan
Hi,
I'm getting quite frustrated trying to use visual fomatter with .css to create the following anytime the return key is hit.
<p class="textDefault">Hello World</p>
WITHOUT having to first select the text and then apply the class style.
Also is there ANY way to get the return key to create a <BR> instead of the <p></p>?
If you have any way to do this I'd be very interested to know.
Thanks!
PS. I'm on 5.5.2 ;-)
Find more posts tagged with
Comments
MattP
see page 220 - 221
There are two attributes. shiftenter and defaultdivon enter. I think shiftenter is what you are looking for. It is a boolean, if set to "True" when the user hits enter, it will insert a <br>.
http://www.ektron.com/software/released/ewebeditpro/v26/developerguide.pdf
Matt
Matthew Petitjean
BOC Group
Murray Hill, NJ 07974 USA
Ninerfan
Matt,
You're my hero!!
This worked like a champ.
Thanks buddy!