Skip to content

有没有可能把milkdown当做普通的富文本编辑器使用呢? #536

Answered by Saul-Mirone
ununian asked this question in Q&A
Discussion options

You must be logged in to vote

是有可能的,你如果不打算用markdown,可以直接用prosemirror的结构,要实现起来就和普通的prosemirror mark差不多,不会很复杂。但可能会影响一些依赖parser和serializer的功能,所以还是推荐扩展markdown,按照自定义语法来实现。

tiptap里面用milkdown的插件的兼容成本估计会比较高,因为tiptap有自己的封装层。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ununian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants