TableCaptionConfig
interface
The configuration of the table caption feature.
Properties
useCaptionElement?: booleanmodule:table/tableconfig~TableCaptionConfig#useCaptionElementSets the preferred HTML structure for table captions.
When this option is
false(the default) the structure is like this:
Copy code<figure class="table"> <table> <tbody> ... </tbody> </table> <figcaption> ... </figcaption> </figure>When this option is
truethe structure is like this:
Copy code<figure class="table"> <table> <tbody> ... </tbody> <caption> ... </caption> </table> </figure>
Copy codeClassicEditor .create( { table: { tableCaption: { useCaptionElement: true } } } ) .then( ... ) .catch( ... );