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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/behaviors/markdown/nodes/table.js')
-rw-r--r--app/assets/javascripts/behaviors/markdown/nodes/table.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/assets/javascripts/behaviors/markdown/nodes/table.js b/app/assets/javascripts/behaviors/markdown/nodes/table.js
deleted file mode 100644
index c766f7f1fba..00000000000
--- a/app/assets/javascripts/behaviors/markdown/nodes/table.js
+++ /dev/null
@@ -1,15 +0,0 @@
-// Transforms generated HTML back to GFM for Banzai::Filter::MarkdownFilter
-export default () => ({
- name: 'table',
- schema: {
- content: 'table_head table_body',
- group: 'block',
- isolating: true,
- parseDOM: [{ tag: 'table' }],
- toDOM: () => ['table', 0],
- },
- toMarkdown(state, node) {
- state.renderContent(node);
- state.closeBlock(node);
- },
-});