jmitchell Posted November 13, 2018 Share Posted November 13, 2018 I may be missing it, but is there a tag that works like the "Keep with Next Paragraph" check box in the paragraph formatting window? Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted November 13, 2018 Share Posted November 13, 2018 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.