mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
ddb214b1e8
commit
395c2e6875
1 changed files with 2 additions and 2 deletions
|
|
@ -1326,13 +1326,13 @@ export class WYSIWYG {
|
|||
if (target.tagName === "VIDEO" || target.tagName === "AUDIO" || event.inputType === "historyRedo") {
|
||||
return;
|
||||
}
|
||||
/// #if !BROWSER
|
||||
if (event.inputType === "historyUndo") {
|
||||
/// #if !BROWSER
|
||||
getCurrentWindow().webContents.redo();
|
||||
/// #endif
|
||||
window.siyuan.menus.menu.remove();
|
||||
return;
|
||||
}
|
||||
/// #endif
|
||||
const range = getEditorRange(this.element);
|
||||
const blockElement = hasClosestBlock(range.startContainer);
|
||||
if (!blockElement) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue