-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
In what scenarios do you need this feature?
protyle 下的编辑器绑定了 input 事件,在前端触发 input 的时候可以提醒后端更新数据。
在插件代码中也可以模拟这一操作,这样就可以在只更改前端的文本而不需要向后端发请求的情况下就更改思源的数据。
我感觉这个操作对插件开发挺便利的,建议把自定义触发 input 事件作为一个 protyle 的接口开发给插件系统。
Describe the optimal solution
添加 API
Describe the candidate solution
No response
Other information
No response