debian-mirror-gitlab/app/assets/javascripts/content_editor/extensions/strike.js

10 lines
202 B
JavaScript
Raw Normal View History

2021-09-04 01:27:46 +05:30
import { Strike } from '@tiptap/extension-strike';
export const tiptapExtension = Strike;
export const serializer = {
open: '~~',
close: '~~',
mixable: true,
expelEnclosingWhitespace: true,
};