diff options
author | Max <max@nextcloud.com> | 2022-03-09 22:07:17 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-03-31 15:29:14 +0300 |
commit | 4629457932accaa24abefc9a8f444dc9398a94d5 (patch) | |
tree | 9d0a5d312e588f627ed905c25c8b13d34060610a /package.json | |
parent | 0db660bbe12c948e1964915f483ad8e406f72d4d (diff) |
feature: initial table support
First take at parsing and serializing markdown tables.
Use TableHead and TableBody nodes to mimic the markdown table structure
with a single heading line on top and multiple td lines following.
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/package.json b/package.json index 872c15a2c..d77292092 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,10 @@ "@tiptap/extension-paragraph": "^2.0.0-beta.22", "@tiptap/extension-placeholder": "^2.0.0-beta.44", "@tiptap/extension-strike": "^2.0.0-beta.26", + "@tiptap/extension-table": "^2.0.0-beta.48", + "@tiptap/extension-table-cell": "^2.0.0-beta.20", + "@tiptap/extension-table-header": "^2.0.0-beta.22", + "@tiptap/extension-table-row": "^2.0.0-beta.19", "@tiptap/extension-task-item": "^2.0.0-beta.31", "@tiptap/extension-task-list": "^2.0.0-beta.26", "@tiptap/extension-text": "^2.0.0-beta.15", @@ -104,6 +108,7 @@ "eslint-plugin-cypress": "^2.12.1", "jest": "^27.5.1", "jest-environment-jsdom": "^27.5.1", + "jest-raw-loader": "^1.0.1", "jest-serializer-vue": "^2.0.2", "regenerator-runtime": "^0.13.9" }, @@ -112,7 +117,9 @@ "testEnvironment": "jest-environment-jsdom", "moduleFileExtensions": [ "js", - "vue" + "vue", + "md", + "html" ], "moduleNameMapper": { "^@/(.*)$": "<rootDir>/src/$1" @@ -124,7 +131,9 @@ ], "transform": { "^.+\\.js$": "<rootDir>/node_modules/babel-jest", - ".*\\.(vue)$": "<rootDir>/node_modules/@vue/vue2-jest" + ".*\\.(vue)$": "<rootDir>/node_modules/@vue/vue2-jest", + ".*\\.md$": "jest-raw-loader", + ".*\\.html$": "jest-raw-loader" }, "snapshotSerializers": [ "<rootDir>/node_modules/jest-serializer-vue" |