cdk proposal: framework for rich text editors ("draftjs" for angular)
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
tl;dr https://draftjs.org/ for angular
I've been searching the internets and there is nothing that comes even close to draftjs, which is built on top and requires react. What does it do? It solves most of the [contenteditable issues](https://medium.engineering/why-contenteditable-is-terrible-122d8a40e480) and provides api for people to build their own rich text editors on top of it.
Rich text editor doesn't necessarily mean WYSIWYG textarea, it can help with anything from mentions, hashtags to replacing text emoticons with images etc.

Some of the most popular draftjs plugins can be found [here](https://www.draft-js-plugins.com/) and [here](https://github.com/nikgraf/awesome-draft-js), it should give you an idea what can be done with it.
worth reading:
- https://code.facebook.com/posts/1684092755205505/facebook-open-sources-rich-text-editor-framework-draft-js/
- https://medium.com/@rajaraodv/why-draft-js-and-why-you-should-contribute-460c4a69e6c8
- https://medium.com/@rajaraodv/how-draft-js-represents-rich-text-data-eeabb5f25cf2
I think this could be a great fit for CDK, given that you are eventually planning on creating WYSIWYG anyway.. what do you think?
@jelbourn @mmalerba @kara @andrewseguin @DevVersion @crisbeto
贡献指南
调研方向
首先查看 issue 中描述的 Draft.js 资源和 Angular CDK 上下文,包括链接的编辑器和插件参考。先定义拟议的 Angular 集成、API 范围和验收标准,再开始实现;当框架设计和项目适配性达成一致时,工作即告完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, react
- 领域
- frontend
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100