prosemirror-view 1.10.0 发布,多人协作文档编辑项目

栏目: 软件资讯 · 发布时间: 6年前

内容简介:prosemirror-view 是 ProseMirror 的视图组件,刚刚发布了最新的 1.10.0 版本,ProseMirror 是一个基于 ContentEditable 的所见即所得 HTML 编辑器,功能强大,支持协作编辑和自定义文档模式 ProseMirror 库由多个...

prosemirror-view 是 ProseMirror 的视图组件,刚刚发布了最新的 1.10.0 版本,ProseMirror 是一个基于 ContentEditable 的所见即所得 HTML 编辑器,功能强大,支持协作编辑和自定义文档模式 ProseMirror 库由多个单独的模块组成。

ProseMirror 主要特性:

  • 协作编辑:ProseMirror 内建多人实时协作编辑
  • 模块化
  • 功能丰富,可以很方便集成到已有的应用
  • 可扩展
  • 可插拔

prosemirror-view 1.10.0 发布,多人协作文档编辑项目

该版本改进内容包括:

新特性

  • 节点视图可通过 ignoreMutation 回调方法来忽略选择内容的变更事件。

Bug 修复

  • Fix an issue that caused the cursor to be scrolled into view when  focus()  was called on IE11.
  • Fix problem where the cursor cycled through pieces of right-to-left text on Firefox during horizontal motion when the gapcursor plugin was enabled.
  • Fix spurious mutation events in Firefox causing mark replacement at end of composition. Restore call to dom.focus on view.focus
  • Fix a bug that could cause node views in front of marked nodes to not be destroyed when deleted, and caused confusion in composition handling in some situations.
  • Cursor wrappers (a kludge to make sure typed text gets wrapping DOM structure corresponding to the current marks) are now created less eagerly, and in a less invasive way, which resolves a number of problems with composition (especially on Safari) and bidirectional text.

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

程序员的职业素养

程序员的职业素养

Robert C.Martin / 章显洲、余晟 / 人民邮电出版社 / 2012-9-1 / 49.00元

本书是编程大师Bob 大叔40 余年编程生涯的心得体会, 讲解成为真正专业的程序员需要什么样的态度、原则,需要采取什么样的行动。作者以自己以及身边的同事走过的弯路、犯过的错误为例,意在为后来人引路,助其职业生涯迈上更高台阶。 本书适合所有程序员,也可供所有想成为具备职业素养的职场人士参考。一起来看看 《程序员的职业素养》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

MD5 加密
MD5 加密

MD5 加密工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具