TableScrollConfig
interface
The configuration of the table scroll feature.
Properties
tableTypes : Array<TableType> | undefinedmodule:table/tableconfig~TableScrollConfig#tableTypesThe list of table types for which a table that is wider than its container is allowed to become horizontally scrollable, and for which the column resize handle is allowed to drag the table's width past 100% of the container width.
By default, only
'content'tables are scrollable. Layout tables are not included by default, since letting a layout table grow past the container width can easily break the intended page layout - to allow it anyway, add'layout'to the list:const tableConfig = { tableScroll: { tableTypes: [ 'content', 'layout' ] } };Copy codeNote that regardless of this setting, only a table that is a direct child of the editing root can become scrollable - a table nested inside another table, a block quote, or any other container never scrolls.
Defaults to
[ 'content' ]