Skip to main content

Paragraphs

Options listed below can must be set using the plug-in page item attribute Initialization JavaScript Code, see an example below.

Initialization JavaScript Code
function( pOptions ){
pOptions.optionName = optionValue;
return pOptions;
}

Paragraph

paragraphFormat

The option paragraphFormat defines available paragraph for rich text document.

image-20240422124453951

paragraphFormatSelection

The option paragraphFormatSelection is a boolean flag enabling or disabling preview of the current paragraph style in the toolbar for the currently focused paragraph.

image-20240422121658960

lineHeights

The option lineHeights defines available line-height properties for currently focused paragraph.

image-20240422121309150

Styles

paragraphStyles

The option paragraphStyles defines CSS classes applicable to the currently focused paragraph. When option paragraphMultipleStyles is enabled, then multiple paragraph styles can be used.

NOTICE ABOUT IMAGE STYLES

Paragraph styles are only visible when a document is displayed along with a custom CSS rules.

paragraphMultipleStyles

The option paragraphMultipleStyles is a boolean flag enabling or disabling possibility to set multiple paragragph styles to the currently focused paragraph.

Initialization JavaScript Code
function( pOptions ){
pOptions.imageMultipleStyles = true;
return pOptions;
}