Skip to content

Type Editor


Type Editor / @type-editor/tables / columnresizing/column-resizing-plugin-key

columnresizing/column-resizing-plugin-key

Variables

VariableDescription

columnResizingPluginKey

Plugin key for accessing the column resizing plugin state. Use this key to retrieve the current ResizeState from the editor state.

Example

typescript
const resizeState = columnResizingPluginKey.getState(editorState);
if (resizeState?.dragging) {
  // Handle active drag operation
}