Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2025-04-13 16:57:29 +08:00
commit c3bb1fc76f

View file

@ -2316,8 +2316,8 @@ export class WYSIWYG {
anchor: virtualRefElement.textContent, anchor: virtualRefElement.textContent,
excludeIDs: [blockElement.getAttribute("data-node-id")] excludeIDs: [blockElement.getAttribute("data-node-id")]
}, (response) => { }, (response) => {
checkFold(response.data[0], (zoomIn) => { checkFold(response.data.refDefs[0].refID, (zoomIn) => {
openMobileFileById(protyle.app, response.data[0], zoomIn ? [Constants.CB_GET_ALL] : [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT, Constants.CB_GET_ROOTSCROLL]); openMobileFileById(protyle.app, response.data.refDefs[0].refID, zoomIn ? [Constants.CB_GET_ALL] : [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT, Constants.CB_GET_ROOTSCROLL]);
activeBlur(); activeBlur();
hideKeyboardToolbar(); hideKeyboardToolbar();
}); });