Type Editor / @type-editor/tables / columnresizing/column-resizing-plugin-key / columnResizingPluginKey
Variable: columnResizingPluginKey
ts
const columnResizingPluginKey: PluginKey<ResizeState>;Defined in: tables/src/columnresizing/column-resizing-plugin-key.ts:17
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
}