Property reference

glide.ui.html.editor.paste.html_import

Filters pasted HTML from sources other than Microsoft Word in TinyMCE, including content copied from the editor. The default clean setting keeps headings, tables, and lists while removing inline styles and classes; merge preserves more formatting, and prompt lets users choose.

Default
clean
Type
choice list
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 determines the filtering behavior for pasted HTML content, allowing options to clean, merge, or prompt users for their preferred formatting.
What area does it affect? HTML editor behavior
What does the default mean? The default value is "clean", which is the baseline setting used unless it is changed.
When should you review it? Review this property when adjusting content formatting preferences for the HTML editor.

Out of the box property record

Raw metadata from the property record.

Property name glide.ui.html.editor.paste.html_import
Sys ID e826611677000210f18b48a0af5a9918
Type choice list
Application Global
Default value clean
Description <p>Paste formatting behavior for HTML. This setting controls how content from sources other than Microsoft Word is filtered when being pasted on html-editor(TinyMCE). Note that this includes content copied from TinyMCE itself. The supported values are:</p> <ul> <li><code>clean</code> (Default) - Preserve the structure of the content such as headings, tables, and lists but remove inline styles and classes. This results in simple content that uses the site's CSS stylesheet while retaining the semantic structure from the original document.</li> <li><code>merge</code> - Preserve the inline formatting and structure of the original document. Invalid and proprietary styles, tags and attributes are still removed ensuring that the HTML is valid while more closely matching the original document formatting.</li> <li><code>prompt</code> - Prompt the user to choose between the clean and merge options after attempting to paste HTML content.</li> </ul>
Updated 2024-02-05 02:30:21

Sources

Official references and nearby text excerpts where this property appears.

Context preview Snippet 1
... TinyMCE HTML editor Type Description glide.ui.html.editor.toolbar String Configures the editing toolbar for HTML fields. This is a space-separated list without commas. Only valid buttons added in glide.ui.html.editor.toolbar.valid_buttons​ can be added. glide.ui.html.editor.paste.html_import​ Choice list Paste formatting behavior for HTML. This setting controls how content from sources other than Microsoft Word is filtered when being pasted on html-editor. Note that this includes content ...

More in glide.ui

Other properties in the same namespace.

All 731 properties in glide.ui →