tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/19241-formatting-in-the-wysiwygCascade CMS: Discussion 2015-09-22T16:18:35Ztag:help-archives.hannonhill.com,2010-02-09:Comment/378202412015-09-03T12:24:41Z2015-09-03T12:24:41ZFormatting in the WYSIWYG<div><p>Hi Ellen,</p>
<p>To confirm, are you not seeing the desired look when viewing
those two paragraphs in the WYSIWYG's visual editor? If this is the
case, do you have a CSS file applied at the Site or Global level
that might be affecting the styling of the <code><p></code>
tags?</p>
<p>Also, if you could provide a screenshot of the WYSIWYG's visual
editor that might help us identify the issue.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/378202412015-09-03T16:14:47Z2015-09-03T16:14:47ZFormatting in the WYSIWYG<div><p>I think it is a WYSIWYG issue? There are 2 paragraphs in the
Cascade and when I publish the page it turns it into one paragraph
and takes the line breaks out, etc</p>
<p>Here is a sample page:<br>
Look at the paragraph that follows the CREDENTIALS: area.</p>
<p><a href="http://cmstst.slcc.edu/accounting/faculty1.aspx">http://cmstst.slcc.edu/accounting/faculty1.aspx</a></p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/378202412015-09-03T16:16:08Z2015-09-03T16:16:08ZFormatting in the WYSIWYG<div><p>Here is the screenshot that you asked for.</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/378202412015-09-03T16:49:12Z2015-09-03T16:49:12ZFormatting in the WYSIWYG<div><p>Thank you for following up, Ellen.</p>
<p>Based on the screenshot, it looks like your Format that
generates the markup needs tweaking to properly output the WYSIWYG
content (ie retain the HTML tags). When you have a moment, please
attach your Format and I'd be happy to help take a closer look.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/378202412015-09-03T16:52:26Z2015-09-03T16:52:26ZFormatting in the WYSIWYG<div><p>Here is the format.</p>
<p>Thanks!</p></div>ellen.donovantag:help-archives.hannonhill.com,2010-02-09:Comment/378202412015-09-03T17:02:58Z2015-09-03T17:02:58ZFormatting in the WYSIWYG<div><p>Thank you for providing your Format, Ellen. Looking it over, I
am seeing the following:</p>
<pre>
<code>#if ( $credientials.value != "" )
<p class="titles">Credentials:</p>
<p class="cred">$_EscapeTool.xml($credentials.value)</p>
#end</code>
</pre>
<p>A couple of items to point out:</p>
<ul>
<li>Testing for empty WYSIWYG is a little more involved since there
can be either plain text or HTML.</li>
<li>You need to use the Serializer Tool to properly serialize and
output the HTML tags within the content</li>
</ul>
<p>Check out <a href="http://help.hannonhill.com/kb/formats/testing-for-empty-wysiwyg-field">
this article</a> for a demonstration on both in Velocity.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffith