@gitee/tide-extension-table
Introduction
This extension enables you to use tables in the editor.
Features
This extension modifies the following features based on @tiptap/extension-table
:
- Supports adjusting column width of cells
- Supports inserting or deleting table rows and columns
- Supports merging or splitting cells
- Supports aligning cell content to left, center, or right
- Input rule: Quickly creates a table by typing
||
or||
(two or more vertical bars, each additional vertical bar represents one more column) - Keyboard shortcuts:
- ←, →, ↑, ↓ Move the cell cursor within the table
- Ctrl/Command + A Selects the content of the cell where the cursor is located. Press it again to select the entire cell. Press it again to select the entire table.