Property reference

glide.ui.html.editor.newline_behavior

Sets how Enter and Shift+Enter insert content in HTML editor fields. By default, Enter inserts a block and Shift+Enter inserts a br tag; other values can force either behavior or swap the keys.

Default
default
Type
string
Application
Global

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? This property configures the behavior of the Enter and Shift+Enter keys in HTML editor fields, allowing for adjustments between inserting block elements or line breaks.
What area does it affect? HTML editor fields
What does the default mean? The default value is "default", which is the baseline setting used unless it is changed.
When should you review it? Review this property when adjusting content formatting preferences in HTML editors.

Out of the box property record

Raw metadata from the property record.

Property name glide.ui.html.editor.newline_behavior
Sys ID 0eb82c62532032109aadd351c0f7b44b
Type string
Application Global
Default value default
Description The system property enables you to adjust what happens when enter or return is pressed on the HTML editor fields like HTML editor, Translated HTML, HTML Script. default: Inserts a block (defined by forced_root_block) on Enter, and a br tag on shift+ Enter. block: Forces the above enter behavior in all cases. linebreak: Forces the above shift+Enter behavior in all cases. invert: swaps Enter and shift+ enter behavior.
Updated 2025-10-16 00:08:51

Sources

Official references and nearby text excerpts where this property appears.

More in glide.ui

Other properties in the same namespace.

All 788 properties in glide.ui →