Gathering detailed insights and metrics for tiptap-table-plus
Gathering detailed insights and metrics for tiptap-table-plus
npm install tiptap-table-plus
Typescript
Module System
Node Version
NPM Version
67.9
Supply Chain
88.1
Quality
80.5
Maintenance
100
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
770
Last Day
1
Last Week
13
Last Month
75
Last Year
770
1 Stars
9 Commits
1 Forks
1 Watching
1 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.6
Package Id
tiptap-table-plus@1.0.6
Unpacked Size
7.23 kB
Size
2.39 kB
File Count
7
NPM Version
9.2.0
Node Version
18.19.1
Publised On
28 Sept 2024
Cumulative downloads
Total Downloads
Last day
-83.3%
1
Compared to previous day
Last week
-31.6%
13
Compared to previous week
Last month
-24.2%
75
Compared to previous month
Last year
0%
770
Compared to previous year
2
tiptap-table-plus
is an npm package that extends the table functionality of the Tiptap editor by adding two new commands: duplicateColumn
and duplicateRow
.
To install the package, use npm:
1npm install tiptap-table-plus
duplicateColumn
This command duplicates the current column. By default, it copies the content of the column as well.
1editor.commands.duplicateColumn(true);
withContent
(boolean):duplicateRow
This command duplicates the current row. By default, it copies the content of the row as well.
1editor.commands.duplicateRow(true);
withContent
(boolean):Here is an example of how to use these commands in your Tiptap editor setup:
1import { Editor } from '@tiptap/core'; 2import Table from '@tiptap/extension-table'; 3import TableRow from '@tiptap/extension-table-row'; 4import TableCell from '@tiptap/extension-table-cell'; 5import TableHeader from '@tiptap/extension-table-header'; 6import TiptapTablePlus from 'tiptap-table-plus'; 7 8const editor = new Editor({ 9 extensions: [ 10 Table, 11 TableRow, 12 TableCell, 13 TableHeader, 14 TiptapTablePlus, 15 ], 16 content: '<p>Hello World!</p>', 17}); 18 19// Duplicate the current column with content 20editor.commands.duplicateColumn(false); 21 22// Duplicate the current row without content 23editor.commands.duplicateRow(false);
This package is open-sourced software licensed under the MIT license.
No vulnerabilities found.
No security vulnerabilities found.