Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax <max@nextcloud.com>2022-05-17 16:04:28 +0300
committerMax <max@nextcloud.com>2022-06-07 20:42:02 +0300
commit464adb24b36f53667cd3a44a281755aac215c437 (patch)
tree57679ec545f44c9235f83f002ebe2fd2341a72e0 /cypress
parent4afca437835a72d57f89cc11ea07bbc3bff459c3 (diff)
fix: bring back table modification buttons
Add an `EditableTable` node that has all the buttons for changing the table. Use it in the Editor while keeping the plain `Table` in RichtextReader. Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/e2e/Table.spec.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/cypress/e2e/Table.spec.js b/cypress/e2e/Table.spec.js
index cbf38f86d..7361abf6c 100644
--- a/cypress/e2e/Table.spec.js
+++ b/cypress/e2e/Table.spec.js
@@ -1,8 +1,4 @@
-import Table from './../../src/nodes/Table'
-import TableCell from './../../src/nodes/TableCell'
-import TableHeader from './../../src/nodes/TableHeader'
-import TableRow from './../../src/nodes/TableRow'
-import TableHeadRow from './../../src/nodes/TableHeadRow'
+import { EditableTable } from './../../src/nodes/Table'
import Markdown from './../../src/extensions/Markdown'
import markdownit from './../../src/markdownit'
import { createMarkdownSerializer } from './../../src/extensions/Markdown';
@@ -16,11 +12,7 @@ describe('ListItem extension integrated in the editor', () => {
content: '',
extensions: [
Markdown,
- Table,
- TableCell,
- TableHeader,
- TableHeadRow,
- TableRow,
+ EditableTable,
],
})