@tiptap/extension-document
Version:
document extension for tiptap
15 lines (12 loc) • 343 B
JavaScript
import { Node } from '@tiptap/core';
/**
* The default document node which represents the top level node of the editor.
* @see https://tiptap.dev/api/nodes/document
*/
const Document = Node.create({
name: 'doc',
topNode: true,
content: 'block+',
});
export { Document, Document as default };
//# sourceMappingURL=index.js.map