debian-mirror-gitlab/app/assets/javascripts/behaviors/markdown/nodes/doc.js

16 lines
223 B
JavaScript
Raw Normal View History

2019-03-02 22:35:43 +05:30
/* 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+',
};
}
}