Interactive editor
Explore Paragraph Formatting
Apply professional paragraph formatting such as indentation, tabs, spacing and paragraph frames.
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
Paragraph Formatting
Apply professional paragraph formatting such as indentation, tabs, spacing and paragraph frames.
API used
TXTextControl.selection.paragraphFormat
How it works
The action uses the current selection’s ParagraphFormat object. It first enables a complete paragraph frame with setFrame, then applies the frame color, width, and double-line style. Because paragraph formatting follows the input position, no manual paragraph lookup is required.
Source files
See the implementation
The view, browser behavior, and controller are encapsulated in Demos/RichTextEditor/Editing/EditingParagraph.