TableCaptionConfig
interface
The configuration of the table caption feature.
Properties
-
useCaptionElement : boolean | undefined
module:table/tableconfig~TableCaptionConfig#useCaptionElement
Sets the preferred HTML structure for table captions.
When this option is
false
(the default) the structure is like this:<figure class="table"> <table> <tbody> ... </tbody> </table> <figcaption> ... </figcaption> </figure>
When this option is
true
the structure is like this:<figure class="table"> <table> <tbody> ... </tbody> <caption> ... </caption> </table> </figure>
ClassicEditor .create( { table: { tableCaption: { useCaptionElement: true } } } ) .then( ... ) .catch( ... );