mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 08:46:09 +01:00
This commit is contained in:
parent
39aaefa24c
commit
ef4deeae58
1 changed files with 1 additions and 1 deletions
|
|
@ -1396,7 +1396,7 @@ const processFold = (operation: IOperation, protyle: IProtyle) => {
|
|||
highlightRender(protyle.wysiwyg.element);
|
||||
avRender(protyle.wysiwyg.element, protyle);
|
||||
blockRender(protyle, protyle.wysiwyg.element);
|
||||
if (operation.context.focusId) {
|
||||
if (operation.context?.focusId) {
|
||||
const focusElement = protyle.wysiwyg.element.querySelector(`[data-node-id="${operation.context.focusId}"]`);
|
||||
focusBlock(focusElement);
|
||||
scrollCenter(protyle, focusElement, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue