From bfaa27f43fa6a675c661d8ec11c1424677d05246 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 27 Feb 2023 11:47:28 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/7495 --- app/src/protyle/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts index 7379bb80a..25dc42d8f 100644 --- a/app/src/protyle/index.ts +++ b/app/src/protyle/index.ts @@ -94,9 +94,9 @@ export class Protyle { break; case "readonly": if (data.data) { - enableProtyle(this.protyle); - } else { disabledProtyle(this.protyle); + } else { + enableProtyle(this.protyle); } break; case "heading2doc":