mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
1480afe42f
commit
0c63c49909
7 changed files with 83 additions and 279 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue