Jump to content

Keep with Next Paragraph


jmitchell

Recommended Posts

You can always find out what tags are generated for text typed into the Variable Text Editor by creating a Formatted Text Resource, entering or pasting the text there, and then clicking the View Source button.

 

In this case, if you go through that exercise, you will see that the "Keep with Next Paragraph" check box is implemented as the attribute keepnext="1" in the <p> tag.

 

If you want to apply "keep with next" to an existing paragraph, you can insert this tag anywhere in the paragraph:

<p br=false keepnext=1>

You can put this in a rule to insert into the Text Editor if you want, like so:

return '<p br=false keepnext=1>';

You can also set the attribute value to something else other than 1 if you want to keep multiple lines of the next paragraph together, as documented in the "Paragraph Tag" section of the FusionPro Tags Reference.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...