NEWCKEditor AI is here! Learn how to supercharge your editor with AI on our webinar.
Sign up (with export icon)

ExperimentalFlagsConfig

Api-interface iconinterface

The experimentalFlags configuration option enables integrators to turn on specific experimental or pre-release features in CKEditor 5. These flags are primarily intended for testing and feedback purposes during the development of new functionality.

Each key in the experimentalFlags object represents a unique experimental feature identifier. Setting the flag’s value to true activates the feature, while false (or absence of the key) keeps it disabled.

Example

EditorClass
	.create( {
		experimentalFlags: {
			modelInsertContentDeepSchemaVerification: true
		}
	} )
	.then( ... )
	.catch( ... );
Copy code

Notes:

  • Use with caution: Experimental features are not guaranteed to be stable and may change or be removed in future releases.
  • No compatibility guarantees: Their APIs, behavior, and configuration may change without notice.
  • Intended audience: This option is mainly for developers testing upcoming features, contributors, or early adopters evaluating new editor capabilities.

Properties

  • Chevron-right icon

    When enabled, the editor performs deep schema verification during model.insertContent() operations. This ensures that all elements and attributes in the inserted content fully conform to the schema — not just at the top level — which helps identify structural inconsistencies early.

    This feature may impact performance on large inserts.

  • Chevron-right icon

    upcastTableBorderZeroAttributes : boolean | undefined

    When enabled, the table properties feature and table cell properties feature upcast border="0" attributes on <table> and <td>/<th> elements as tableBorderStyle and tableCellBorderStyle styles with value set to none.

    This is useful when migrating content from the CKEditor 4, which used border="0" to represent tables and cells without borders. This will be enabled by default in the future CKEditor 5 releases.

  • Chevron-right icon

    useExtendedTableBlockAlignment : boolean | undefined

    When enabled, the the table properties feature will support extended alignment options for tables, i.e. blockLeft and blockRight, using CSS margin property.

    This will be enabled by default in the future CKEditor 5 releases.