You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 26, 2020. It is now read-only.
Feature: Introduced toolbar for the table widget, changed the toolbar configuration option from `table.toolbar` to `table.contentToolbar`. Closes #113. Closes #106.
Other: `config.table.toolbar` is marked as depracted. Use `config.table.contentToolbar` instead.
* The `'splitTableCellVertically'` command implemented by {@link module:table/commands/splitcellcommand~SplitCellCommand}.
69
69
* The `'splitTableCellHorizontally'` command implemented by {@link module:table/commands/splitcellcommand~SplitCellCommand}.
70
70
71
-
The {@link module:table/tabletoolbar~TableToolbar} plugin introduces the balloon toolbar for tables. The toolbar shows up when a table cell is selected and is anchored to the table. It is possible to {@link module:table/table~TableConfig#toolbar configure} its content. Normally, it contains the table-related tools such as `'tableColumn'`, `'tableRow'`, and `'mergeTableCells'` dropdowns.
71
+
The {@link module:table/tabletoolbar~TableToolbar} plugin introduces two balloon toolbars for tables.
72
+
* The content toolbar shows up when table cell is selected and is anchored to the table. It is possible to {@link module:table/table~TableConfig#contentToolbar configure} its content. Normally, it contains the table-related tools such as `'tableColumn'`, `'tableRow'`, and `'mergeTableCells'` dropdowns.
73
+
* The table toolbar shows up when the whole table is selected, for instance using the widget handler. It is possible to {@link module:table/table~TableConfig#tableToolbar configure} its content.
Copy file name to clipboardExpand all lines: tests/manual/table.md
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,16 @@
2
2
3
3
1. The data should be loaded with:
4
4
* a complex table with:
5
-
- one heading row,
6
-
- two heading columns,
5
+
- one heading row,
6
+
- two heading columns,
7
7
- merged cells in heading columns section,
8
8
* a table with 2 tbody sections in the DOM - should be rendered as a table with one tbody.
9
9
* a table with no tbody sections in the DOM - should be rendered as a table with one tbody.
10
10
* a table with a thead section between two tbody sections in dom - should be rendered as a table with one thead and on tbody section in proper order: 1, 2, 3.
11
11
12
12
2. Main toolbar should have insert table dropdown.
13
-
14
-
3. While the table widget is selected there should be a toolbar attached to the table with 3 dropdowns:
13
+
14
+
3. While the table cell is selected there should be a toolbar attached to the table with 3 dropdowns:
15
15
* column dropdown with items:
16
16
- header column,
17
17
- insert column before,
@@ -30,6 +30,8 @@
30
30
- split cell vertically,
31
31
- split cell horizontally,
32
32
33
+
4. While the table widget is selected there should be `bold` and `italic` buttons
0 commit comments