• 请不要在回答技术问题时复制粘贴 AI 生成的内容
WilsonGGG
V2EX  ›  程序员

请教: Flomo 的编辑器是如何实现的?有哪些第三方库可以使用?

  •  1
     
  •   WilsonGGG · Aug 1, 2023 · 3332 views
    This topic created in 1194 days ago, the information mentioned may be changed or developed.

    Flomo 的前端应该是 Vue ,他的编辑器支持几个简单的格式(加粗、下划线、有序/无序列表),最关键的是支持树状标签结构,有大佬知道这个标签功能在编辑器中是如何实现的吗?(标签解析、高亮、标签联想)

    谢谢

    5 replies  •  2023-08-04 09:23:42 +08:00
    justin2018
    justin2018
    Aug 1, 2023
    1
    itskingname
    itskingname
    Aug 1, 2023
    2
    可以参考 memos 的源代码。memos 相当于是网友自己做的开源版 flomo 。也支持树状标签。
    sankemao
    sankemao
    Aug 1, 2023
    3
    flomo 前端编辑器用的时 prosemirror
    fuye
    fuye
    Aug 1, 2023
    4
    可以了解下 tiptap ( https://tiptap.dev/),有 vue/react 版本,插件丰富,也是基于 prosemirror
    WilsonGGG
    WilsonGGG
    OP
    Aug 4, 2023 via iPhone
    5
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1627 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 11:01 · PVG 19:01 · LAX 03:01 · JFK 06:01
    ♥ Do have faith in what you're doing.