-
Notifications
You must be signed in to change notification settings - Fork 166
TableResize plugin
Go back to Built-in plugins
TableResize
plugin provides the resizing functionality of table. With this plugin user can change width of table cells by drag and drop an invisible resizing handle of table.
TableResize
is an optional plugin. To use this plugin, you need to manually create instance of this plugin and add it to your editor by createEditor() API or constructor of Editor class. To manually create an instance of this plugin, you can use its constructor:
constructor(isRtl?: boolean);
There's no required parameter for this plugin. It used to have an optional parameter 'isRtl' which is already deprecated in 6.8.0 since now the plugin can detect whether a plugin is in LTR or RTL mode.
When finish resizing, this plugin will trigger a ContentChangedEvent with source equal to 'Format' (ChangeSource.Format).
For more inforation about ContentChangedEvent
, please reference to ContentChangedEvent
Package: roosterjs-editor-plugin
Support from: 6.8.0
Source code: TableResize.ts