mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 17:54:20 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
15fc11e600
commit
65c8344add
1 changed files with 1 additions and 0 deletions
|
|
@ -357,6 +357,7 @@ const renderKeyboardToolbar = () => {
|
|||
}
|
||||
|
||||
const protyle = getCurrentEditor().protyle;
|
||||
protyle.toolbar.range = range;
|
||||
if (!dynamicElements[0].classList.contains("fn__none")) {
|
||||
if (protyle.undo.undoStack.length === 0) {
|
||||
dynamicElements[0].querySelector('[data-type="undo"]').setAttribute("disabled", "disabled");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue