@@ -229,7 +229,7 @@ export function pasteRulesPlugin(props: { editor: Editor, rules: PasteRule[] }):
|
|||||||
editor,
|
editor,
|
||||||
state: chainableState,
|
state: chainableState,
|
||||||
from: Math.max(from - 1, 0),
|
from: Math.max(from - 1, 0),
|
||||||
to: to.b,
|
to: to.b - 1,
|
||||||
rule,
|
rule,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user