TableLayoutConfig
interface
The configuration of the table layout feature.
Properties
module:table/tableconfig~TableLayoutConfig#preferredExternalTableTypeSets the preferred type for loading external tables.
This setting overrides the default detection method and uses the specified type ('content' or 'layout').
ClassicEditor .create( { table: { tableLayout: { preferredExternalTableType: 'content' // or 'layout' } } } ) .then( ... ) .catch( ... );Copy codestripFigureFromContentTable : boolean | undefinedmodule:table/tableconfig~TableLayoutConfig#stripFigureFromContentTableWhen set to
true, the editor strips the<figure>tag from the table data with the "content" type.ClassicEditor .create( { table: { tableLayout: { stripFigureFromContentTable: false // or true } } } ) .then( ... ) .catch( ... );Copy codeDefaults to
true