mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-12 10:14:21 +01:00
🐛 Virtual reference cannot jump on mobile Fix https://github.com/siyuan-note/siyuan/issues/14565 (#14566)
This commit is contained in:
parent
edfee5c676
commit
7b6a28911f
1 changed files with 2 additions and 2 deletions
|
|
@ -2316,8 +2316,8 @@ export class WYSIWYG {
|
|||
anchor: virtualRefElement.textContent,
|
||||
excludeIDs: [blockElement.getAttribute("data-node-id")]
|
||||
}, (response) => {
|
||||
checkFold(response.data[0], (zoomIn) => {
|
||||
openMobileFileById(protyle.app, response.data[0], zoomIn ? [Constants.CB_GET_ALL] : [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT, Constants.CB_GET_ROOTSCROLL]);
|
||||
checkFold(response.data.refDefs[0].refID, (zoomIn) => {
|
||||
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();
|
||||
hideKeyboardToolbar();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue