diff options
Diffstat (limited to 'app/assets/javascripts/behaviors/markdown/nodes/doc.js')
-rw-r--r-- | app/assets/javascripts/behaviors/markdown/nodes/doc.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/assets/javascripts/behaviors/markdown/nodes/doc.js b/app/assets/javascripts/behaviors/markdown/nodes/doc.js new file mode 100644 index 00000000000..88b16fd85da --- /dev/null +++ b/app/assets/javascripts/behaviors/markdown/nodes/doc.js @@ -0,0 +1,15 @@ +/* eslint-disable class-methods-use-this */ + +import { Node } from 'tiptap'; + +export default class Doc extends Node { + get name() { + return 'doc'; + } + + get schema() { + return { + content: 'block+', + }; + } +} |