|
@@ -908,8 +908,6 @@ export const zoomOut = (options: {
|
|
id: options.id,
|
|
id: options.id,
|
|
size: options.id === options.protyle.block.rootID ? window.siyuan.config.editor.dynamicLoadBlocks : Constants.SIZE_GET_MAX,
|
|
size: options.id === options.protyle.block.rootID ? window.siyuan.config.editor.dynamicLoadBlocks : Constants.SIZE_GET_MAX,
|
|
}, getResponse => {
|
|
}, getResponse => {
|
|
- // 折叠标题块下内容退出聚焦定位 https://github.com/siyuan-note/siyuan/issues/13577
|
|
|
|
- const parents2Id = options.protyle.block.parent2ID;
|
|
|
|
if (options.isPushBack) {
|
|
if (options.isPushBack) {
|
|
onGet({
|
|
onGet({
|
|
data: getResponse,
|
|
data: getResponse,
|
|
@@ -927,7 +925,7 @@ export const zoomOut = (options: {
|
|
}
|
|
}
|
|
// https://github.com/siyuan-note/siyuan/issues/4874
|
|
// https://github.com/siyuan-note/siyuan/issues/4874
|
|
if (options.focusId) {
|
|
if (options.focusId) {
|
|
- const focusElement = options.protyle.wysiwyg.element.querySelector(`[data-node-id="${options.focusId}"], [data-node-id="${parents2Id}"]`);
|
|
|
|
|
|
+ const focusElement = options.protyle.wysiwyg.element.querySelector(`[data-node-id="${options.focusId}"]`);
|
|
if (focusElement) {
|
|
if (focusElement) {
|
|
// 退出聚焦后块在折叠中 https://github.com/siyuan-note/siyuan/issues/10746
|
|
// 退出聚焦后块在折叠中 https://github.com/siyuan-note/siyuan/issues/10746
|
|
let showElement = focusElement;
|
|
let showElement = focusElement;
|