mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-12 04:33:34 +08:00
refactoring
This commit is contained in:
parent
28d5ae094b
commit
72cd81640e
@ -51,7 +51,6 @@ export default function (regexp: RegExp, type: MarkType, getAttrs?: Function) {
|
||||
return new Plugin({
|
||||
props: {
|
||||
transformPasted: slice => {
|
||||
console.log({slice})
|
||||
return new Slice(handler(slice.content), slice.openStart, slice.openEnd)
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user