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

5 lines
233 B
JavaScript

import { Bold } from '@tiptap/extension-bold';
import { defaultMarkdownSerializer } from 'prosemirror-markdown/src/to_markdown';
export const tiptapExtension = Bold;
export const serializer = defaultMarkdownSerializer.marks.strong;