You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on tiptap built WeChat public number editor example, support layout after copying to the WeChat public platform, support developers to develop their own style library, template library as content insertion;
基于 tiptap 搭建的微信公众号编辑器示例,支持排版后复制到微信公众平台,支持开发者自己开发样式库、模板库作为内容插入;如 135Editor、壹伴等;
Why tiptap ?
Due to the need to fully customise the editing interface, rich text editors such as wangEditor that need to override the default styles are difficult to implement;
At first, I tried quill, a lightweight rich text editor;
quill is based on Parchment's document model, which doesn't allow direct insertion/modification of dom, and can only implement input parsing rules and output rendering rules by declaring new Parchment Blots (ProseMirror-based tiptap is similar).
However, quill's Blots declaration is complicated and poorly documented, making it difficult to add new content features to the editor. Tiptap can do this very well with extensions.
Author: blackfeather
Link: https://juejin.cn/post/7341690415744958505
Source: Rare Earth Nuggets
The copyright belongs to the author. For commercial reprints, please contact the author for permission, and for non-commercial reprints, please give credit where credit is due.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
Based on tiptap built WeChat public number editor example, support layout after copying to the WeChat public platform, support developers to develop their own style library, template library as content insertion;
基于 tiptap 搭建的微信公众号编辑器示例,支持排版后复制到微信公众平台,支持开发者自己开发样式库、模板库作为内容插入;如 135Editor、壹伴等;
URL
https://kid-1912.github.io/tiptap-appmsg-editor/index.html
About
Why tiptap ?
Due to the need to fully customise the editing interface, rich text editors such as wangEditor that need to override the default styles are difficult to implement;
At first, I tried quill, a lightweight rich text editor;
quill is based on Parchment's document model, which doesn't allow direct insertion/modification of dom, and can only implement input parsing rules and output rendering rules by declaring new Parchment Blots (ProseMirror-based tiptap is similar).
However, quill's Blots declaration is complicated and poorly documented, making it difficult to add new content features to the editor. Tiptap can do this very well with extensions.
Author: blackfeather
Link: https://juejin.cn/post/7341690415744958505
Source: Rare Earth Nuggets
The copyright belongs to the author. For commercial reprints, please contact the author for permission, and for non-commercial reprints, please give credit where credit is due.
Type
Document Editor
Other
More detail see: https://github.com/KID-1912/tiptap-appmsg-editor
About article see: https://juejin.cn/post/7341690415744958505
Beta Was this translation helpful? Give feedback.
All reactions