Feature Suggest: please support plugin in Mark Text #224
Labels
🐼 plugin
you can write a plugin of Mark Text to implement this feature in the future
🦄 feature request
New feature or request
Description
[这个项目很惊艳,尤其是虚拟node与可视化写作~即便是对多年开发写作类软件的我。本希望贡献一些插件,不过目前插件对核心代码干挠过大,希望能在1·0之前尽快布局下插件机制,让关注者可以贡献代码、而核心团队专注于主版本更新]
Steps to reproduce
以目前其中的一个典型插件斗图为例,我查找了下,在以下6个文件中有引用
其实也就是插件机制需要处理的问题
{ …, Plugins:{ Aidou:{ Enable:false, … } } }
Expected behavior: [What you expected to happen]
新的开发者将代码放在src/plugins/aidou 下即可实现全部功能,删除插件删除代码即可。
建议
最好有意识的在editor,eventcenter,bus,parser中暴露一些api,让开发者能够获得更多处理事件机会
共勉:)
The text was updated successfully, but these errors were encountered: