Notus 是一个基于 Delta 格式的跨平台富文本文档模型,旨在实现跨平台的灵活且一致的文本编辑。它为 Zefyr 编辑器提供支持,并实现了结构化、协作式文本处理,支持格式化、嵌入内容和版本控制。该模型确保了无论底层平台如何,富文本内容都能保持兼容性和无缝同步。Notus 非常适合需要高级文本操作且不被供应商锁定的应用。
适合场景
跨平台应用中的富文本编辑
协作文档编辑
内容序列化和反序列化
实时文本同步
嵌入媒体和自定义区块
主要特点
基于增量的文档模型
跨平台兼容性
支持富文本格式化
版本控制与历史追踪
可扩展的块结构
适合对象
开发富文本编辑器的开发者
需要协作编辑功能的应用程序
使用 Zefyr 或类似编辑器的项目
优先考虑平台独立性的团队
使用建议
需要与 Zefyr 等 UI 编辑器集成
缺少附加组件时,独立功能有限
最适合复杂的文本工作流,而非简单的输入
原始 README
以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。
About Zefyr
Soft and gentle rich text editing for Flutter applications.
You are viewing early dev preview version of this package which is no longer actively maintained.
To follow latest updates see dev releases for 1.0.0-dev.x versions. You can learn more about
upcoming 1.0.0 release here: https://github.com/memspace/zefyr/issues/409
Zefyr's rich text editor is built with simplicity and flexibility in
mind. It provides clean interface for distraction-free editing. Think
Medium.com-like experience.
Markdown-inspired semantics
Ever needed to have a heading line inside of a quote block, like in
this Markdown block:
I'm a Markdown heading
And I'm a regular paragraph
Zefyr can deliver exactly that:
Ready for collaborative editing
Zefyr's document model uses data format compatible with
Operational Transformation which makes it possible to use for
collaborative editing use cases or whenever there is a need for
conflict-free resolution of changes.
Zefyr editor uses Quill.js Delta as underlying data format. Read
more about Zefyr and Deltas in our documentation.
Make sure to checkout official documentation for Delta format
as well.