mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-22 11:44:14 +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({
|
return new Plugin({
|
||||||
props: {
|
props: {
|
||||||
transformPasted: slice => {
|
transformPasted: slice => {
|
||||||
console.log({slice})
|
|
||||||
return new Slice(handler(slice.content), slice.openStart, slice.openEnd)
|
return new Slice(handler(slice.content), slice.openStart, slice.openEnd)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user