debian-mirror-gitlab/app/assets/javascripts/content_editor/extensions/strike.js
2021-09-04 01:27:46 +05:30

9 lines
202 B
JavaScript

import { Strike } from '@tiptap/extension-strike';
export const tiptapExtension = Strike;
export const serializer = {
open: '~~',
close: '~~',
mixable: true,
expelEnclosingWhitespace: true,
};