Comparing version 1.0.0-rc.1 to 1.0.0-rc.2
@@ -0,1 +1,14 @@ | ||
# 1.0.0-rc.2 | ||
A few bug fixes, including one significant [one](https://github.com/quilljs/quill/issues/883) | ||
### Bug Fixes | ||
- Fix icon picker rendering in MS Edge [#877](https://github.com/quilljs/quill/issues/877) | ||
- Add back minified build to release [#881](https://github.com/quilljs/quill/issues/881) | ||
- Fix optimized change calculation with preformatted text [#883](https://github.com/quilljs/quill/issues/883) | ||
Thanks to [benbro](https://github.com/benbro), [cutteroid](https://github.com/cutteroid), and [CapTec](https://github.com/CapTec) for their contributions to this release. | ||
# 1.0.0-rc.1 | ||
@@ -2,0 +15,0 @@ |
@@ -6,2 +6,3 @@ import Delta from 'rich-text/lib/delta'; | ||
import CodeBlock from '../formats/code'; | ||
import CursorBlot from '../blots/cursor'; | ||
import Block, { bubbleFormats } from '../blots/block'; | ||
@@ -202,3 +203,4 @@ import clone from 'clone'; | ||
let index = textBlot.offset(this.scroll); | ||
let oldText = new Delta().insert(mutations[0].oldValue); | ||
let oldValue = mutations[0].oldValue.replace(CursorBlot.CONTENTS, ''); | ||
let oldText = new Delta().insert(oldValue); | ||
let newText = new Delta().insert(textBlot.value()); | ||
@@ -205,0 +207,0 @@ let diffDelta = new Delta().retain(index).concat(oldText.diff(newText)); |
{ | ||
"name": "quill", | ||
"version": "1.0.0-rc.1", | ||
"version": "1.0.0-rc.2", | ||
"description": "Cross browser rich text editor", | ||
@@ -5,0 +5,0 @@ "author": "Jason Chen <jhchen7@gmail.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2010648
21422