refactoring
This commit is contained in:
@@ -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)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user