debian-mirror-gitlab/app/assets/javascripts/content_editor/extensions/blockquote.js
2021-06-08 01:23:25 +05:30

5 lines
255 B
JavaScript

import { Blockquote } from '@tiptap/extension-blockquote';
import { defaultMarkdownSerializer } from 'prosemirror-markdown/src/to_markdown';
export const tiptapExtension = Blockquote;
export const serializer = defaultMarkdownSerializer.nodes.blockquote;