mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-07 21:47:02 +09:00
JS-7051: fix
This commit is contained in:
parent
3cdf247ead
commit
e7e9c11427
1 changed files with 4 additions and 0 deletions
|
@ -1895,7 +1895,11 @@ const EditorPage = observer(class EditorPage extends React.Component<Props, Stat
|
|||
let from = 0;
|
||||
let to = 0;
|
||||
|
||||
keyboard.disablePaste(true);
|
||||
|
||||
C.BlockPaste(rootId, focused, range, selection?.get(I.SelectType.Block, true) || [], data.anytype.range.to > 0, { ...data, anytype: data.anytype.blocks }, '', (message: any) => {
|
||||
keyboard.disablePaste(false);
|
||||
|
||||
if (message.error.code) {
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue