enable clipboardTextSerializer again

This commit is contained in:
Philipp Kühn
2021-04-07 22:22:39 +02:00
parent 508fcfd882
commit 160ee9f846

View File

@@ -38,17 +38,17 @@ export const ClipboardTextSerializer = Extension.create({
addProseMirrorPlugins() { addProseMirrorPlugins() {
return [ return [
// new Plugin({ new Plugin({
// key: new PluginKey('clipboardTextSerializer'), key: new PluginKey('clipboardTextSerializer'),
// props: { props: {
// clipboardTextSerializer: () => { clipboardTextSerializer: () => {
// const { editor } = this const { editor } = this
// const { from, to } = editor.state.selection const { from, to } = editor.state.selection
// return textBetween(editor, from, to, '\n') return textBetween(editor, from, to, '\n')
// }, },
// }, },
// }), }),
] ]
}, },
}) })