Vanessa 2022-11-27 00:50:53 +08:00
parent 1480afe42f
commit 0c63c49909
7 changed files with 83 additions and 279 deletions

View file

@ -42,9 +42,9 @@ export const editor = {
});
allModels.search.forEach(search => {
if (readOnly) {
disabledProtyle(search.protyle.protyle);
disabledProtyle(search.edit.protyle);
} else {
enableProtyle(search.protyle.protyle);
enableProtyle(search.edit.protyle);
}
});
window.siyuan.blockPanels.forEach(item => {