remove unused code

This commit is contained in:
Philipp Kühn 2020-10-26 22:41:20 +01:00
parent 4a139f5651
commit 4b046d7034

View File

@ -2,14 +2,6 @@ import {
Command, createMark, markInputRule, markPasteRule,
} from '@tiptap/core'
// export type BoldCommand = () => Command
// declare module '@tiptap/core/src/Editor' {
// interface Commands {
// bold: BoldCommand,
// }
// }
export const starInputRegex = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/gm
export const starPasteRegex = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/gm
export const underscoreInputRegex = /(?:^|\s)((?:__)((?:[^__]+))(?:__))$/gm