1 个仓库
Architectures for extending core editor functionality through modular plugin systems.
Distinct from Draft.js Integrations: Draft.js Integrations covers general usage; this specifically targets the framework for building extensions.
Explore 1 awesome GitHub repository matching web development · Plugin Frameworks. Refine with filters or upvote what's useful.
这是一个用于 Draft.js 富文本编辑器的插件框架,提供了一个添加自定义行为、装饰器和键盘快捷键的系统。它作为一个工具包,用于通过高级格式化和交互元素扩展编辑器,同时还提供了一个用于管理工具栏和弹窗的 React UI 组件库。 该框架的特色在于对社交提及系统的专门支持,能够通过自动补全触发器将标签和用户提及识别并格式化为交互式实体。它还包含一套全面的富媒体扩展,用于直接在文本流中嵌入和操作图像、视频、表情符号和贴纸。 广泛的功能包括实现上下文工具栏(如浮动、静态或侧边对齐菜单),以及通过拖放交互和块大小调整来管理内容排列的能力。该系统还涵盖了内容管理工具,如实时文档指标和用于撤销与重做操作的历史记录管理。 该项目使用 TypeScript 编写,并提供了一个可扩展的架构,用于集成自定义装饰器和状态转换管道。
Provides a modular plugin architecture for extending the core functionality of the Draft.js editor.