ExperimentalFlagsConfig
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( ... );
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
modelInsertContentDeepSchemaVerification : boolean | undefinedmodule:engine/engineconfig~ExperimentalFlagsConfig#modelInsertContentDeepSchemaVerificationWhen 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.
upcastTableBorderZeroAttributes : boolean | undefinedmodule:engine/engineconfig~ExperimentalFlagsConfig#upcastTableBorderZeroAttributesWhen enabled, the table properties feature and table cell properties feature upcast
border="0"attributes on<table>and<td>/<th>elements astableBorderStyleandtableCellBorderStylestyles with value set tonone.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.useExtendedTableBlockAlignment : boolean | undefinedmodule:engine/engineconfig~ExperimentalFlagsConfig#useExtendedTableBlockAlignmentWhen enabled, the the table properties feature will support extended alignment options for tables, i.e.
blockLeftandblockRight, using CSSmarginproperty.This will be enabled by default in the future CKEditor 5 releases.