Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开启只读模式无法触发替换功能 #31

Open
shuojie819 opened this issue May 10, 2024 · 2 comments
Open

开启只读模式无法触发替换功能 #31

shuojie819 opened this issue May 10, 2024 · 2 comments

Comments

@shuojie819
Copy link

开启只读模式,解锁后使用该插件进行编辑会无法触发替换功能。
图片
recording

@Zuoqiu-Yingyi
Copy link
Owner

目前 Monaco 编辑器是否开启只读模式跟随思源的全局配置 siyuan.config.editor.readOnly

@shuojie819
Copy link
Author

是否有其他方式可以解决?现在的话每次想用Monaco编辑器的替换功能还要先关闭全局只读(重启思源),很麻烦……

  1. 是否可以不跟随全局配置 siyuan.config.editor.readOnly
  2. 在 Monaco编辑器中添加一个解锁按钮。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants