1
0
Fork 0
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:
Andrew Simachev 2025-06-05 15:47:31 +02:00
parent 3cdf247ead
commit e7e9c11427
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF

View file

@ -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;
};