@atlaskit/editor-plugin-table
Version:
Table plugin for the @atlaskit/editor
13 lines • 334 B
JavaScript
export const pluginConfig = (config = {}) => {
return config.advanced ? {
allowBackgroundColor: true,
allowColumnResizing: true,
allowHeaderColumn: true,
allowHeaderRow: true,
allowMergeCells: true,
allowNumberColumn: true,
permittedLayouts: 'all',
allowControls: true,
...config
} : config;
};