diff --git a/packages/ketcher-core/src/application/editor/actions/paste.ts b/packages/ketcher-core/src/application/editor/actions/paste.ts index 1d55ef4731..aa3b01dacb 100644 --- a/packages/ketcher-core/src/application/editor/actions/paste.ts +++ b/packages/ketcher-core/src/application/editor/actions/paste.ts @@ -23,7 +23,8 @@ import { RxnArrowAdd, RxnPlusAdd, SimpleObjectAdd, - TextCreate + TextCreate, + CalcImplicitH } from '../operations' import { fromRGroupAttrs, fromUpdateIfThen } from './rgroup' @@ -89,6 +90,10 @@ export function fromPaste(restruct, pstruct, point, angle = 0) { pasteItems.bonds.push(operation.data.bid) }) + pasteItems.atoms.forEach((aid) => { + action.addOp(new CalcImplicitH([aid]).perform(restruct)) + }) + pstruct.sgroups.forEach((sg) => { const newsgid = restruct.molecule.sgroups.newId() const sgAtoms = sg.atoms.map((aid) => aidMap.get(aid))