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

Refactor comment & editor #154

Merged
merged 10 commits into from
May 18, 2022
Merged

Refactor comment & editor #154

merged 10 commits into from
May 18, 2022

Conversation

qwqcode
Copy link
Member

@qwqcode qwqcode commented May 18, 2022

  • comment 组件分离出 Render 和 Actions 类,进一步遵循 LKP 原则
  • editor 编辑器插件规范化,提供方法插件客户端主动注册 Panel 和 Btn
  • context 添加接口,面向接口编程,实现客户端和具体实现类的解耦

参考:https://qwqaq.com/2022/05/design-principles/

@qwqcode qwqcode merged commit 672cda6 into master May 18, 2022
qwqcode added a commit that referenced this pull request May 18, 2022
@qwqcode qwqcode deleted the refactor branch May 18, 2022 16:45
@qwqcode
Copy link
Member Author

qwqcode commented May 18, 2022

新增 ArtalkLite,不内置 marked 依赖的版本,仅 28.56 KiB

bd9a2f0

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

Successfully merging this pull request may close these issues.

1 participant