insert a blank line in the page.

Radha Padmasolala's Avatar

Radha Padmasolala

20 Feb, 2015 04:23 PM

We are not able to insert blank lines in a page.
Any tags we add are removed automatically please help.

  1. 1 Posted by Ryan Griffith on 20 Feb, 2015 07:16 PM

    Ryan Griffith's Avatar

    Hi Radha,

    I am not sure if I am understanding your issue. Are you attempting to add <br/> or empty <p> tags to a WYSIWYG editor, or within an XML Block?

    When you have a moment, please provide sample HTML that you are using along with detailed steps to reproduce the behavior. Also, what version of Cascade Server are you experiencing this behavior in?

    Please let me know if you have any questions.

    Thanks!

  2. 2 Posted by Padmasolala, Ra... on 20 Feb, 2015 07:22 PM

    Padmasolala, Radha's Avatar

    Ryan,

    I am doing the change in the html editor not the xml block.

    1. open the page,

    2. Click edit.

    3. Click HTML

    4. In HTML content I add the <br> and then click insert.

    5. Submit the change.

    But the change does not go in and also when I open the html editor again it is not there.

    The cascade server version is 7.12.2 - f65d7

    Thank you,
    Radha

  3. 3 Posted by Mizilin, Pavel on 20 Feb, 2015 07:40 PM

    Mizilin, Pavel's Avatar

    Radha,

    The workaround is to put a non-breaking space and give the tag a class or id, i.e.:

    <p class="_t">&#160;</p>

    Regards,

    Pavel Mizilin
    Manager, Enterprise Application Services
    Office of Information Technology
    The University of Texas at Arlington
    817-272-1326<tel:817-272-0133>
    [email blocked]

    From: Padmasolala, Radha
    Sent: Friday, February 20, 2015 1:21 PM
    To: 'Ryan Griffith'
    Cc: Mizilin, Pavel
    Subject: RE: insert a blank line in the page. [How Do I... #16570]

    Ryan,

    I am doing the change in the html editor not the xml block.

    1. open the page,

    2. Click edit.

    3. Click HTML

    4. In HTML content I add the <br> and then click insert.

    5. Submit the change.

    But the change does not go in and also when I open the html editor again it is not there.

    The cascade server version is 7.12.2 - f65d7

    Thank you,
    Radha

  4. 4 Posted by Ryan Griffith on 20 Feb, 2015 07:55 PM

    Ryan Griffith's Avatar

    Hi Radha,

    It looks like the issue is that the WYSIWYG (ie TinyMCE) appears to be removing the <br/> as soon as you insert the HTML (not on page submission). This is most likely due to some internal cleanup by TinyMCE.

    As Pavel mentioned, adding some content to the HTML by using a non-breaking space and id/class attribute should resolve the issue.

    Please let me know if you have any questions.

    Thanks!

  5. Ryan Griffith closed this discussion on 05 Mar, 2015 07:52 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac