WYSIWYG editor question

5 posts by 3 authors in: Forums > CMS Builder
Last Post: April 28, 2008   (RSS)

By _kate_ - April 28, 2008

Is there anyway to stop the WYSIWYG editor from wrapping any text in a paragraph tag (<p></p>)?

I went to HTML view and deleted it, however it just reappears again.

Re: [AgentBristow] WYSIWYG editor question

By Dave - April 28, 2008

There are some options in the wysiwyg for that. Although they discourage using them (link).

What were you trying to achieve or how were the paragraph tags causing a problem?
Dave Edis - Senior Developer
interactivetools.com

Re: [AgentBristow] WYSIWYG editor question

By jsv - April 28, 2008

Try adding the following into the stylesheet for your website:

p {
margin-top: 0;
margin-bottom: 0;
}

This will eliminate the linebreaks because of the <p> tags (although you will still see these linebreaks in WYSIWYG).

Jan

Re: [jsv] WYSIWYG editor question

By _kate_ - April 28, 2008

Smarty pants :P

Thanks! Worked like a charm :)