Releases: slab/quill
Version 1.1.7
- Fix dropdown values reverting to default #901
- Add config to prevent scroll jumping on paste #1082
- Prevent scrolling on API source calls #1152
- Fix tsconfig build error #1165
- Fix delete and formatting interaction in Firefox #1171
- Fix cursor jump on formatting in middle of text #1176
Thanks to @cutteroid, @houxg, @jasongisstl, @nikparo, @sbevels, and sferoze for your contributions to this release.
Version 1.1.6
Features
Checklists #759 support has been added to the API. UI and relevant interactions are still forthcoming.
Bug Fixes
Thank you @jgmediadesign and @julienbmobile for contributions to this release!
Version 1.1.5
Version 1.1.3
Version 1.1.2
- Fix setContents on already formatted text #1065
- Fix regression #1067
- Improve documentation #1069 #1070
Thank you benbro, derickruiz, eamodio, hallaathrad, and philly385 for your contributions to this release.
Version 1.1.1
Bug fixes
- TEXT_CHANGE event now use cursor position to inform change location #746
- Fix inconsistent cursor reporting between browsers #1007
- Fix tooltip overflow in docs #1060
- Fix naming #1063
- Fix Medium example #1064
Thanks to @artaommahe, @benbro, @fuffalist, @sachinrekhi, @sergop321, and @tlg for contributions to this release!
Special thanks to @DadaMonad for contributions on fast-diff that enabled the #746 fix.
Version 1.1.0
Additions
Quill has always allowed API calls, even when the editor is in readOnly mode. All API calls also took a source
parameter to indicate the origin of the change. For example, a click handler in the toolbar would call formatText
with source
set to "user"
. When the editor is in readOnly mode, it would make sense for user initiated actions to be ignored. For example the user cannot focus or type into the editor. However because API calls are allowed, the user could still modify the editor contents #909. The natural fix is to ignore user initiated actions, even if it came through an API call, when the editor is in readOnly mode.
However, the documentation never stated API calls with source
set to "user"
would be ignored sometimes, so this would be a breaking change under semver. Some could argue this is a bug fix and would only warrant a patch version bump, but this seems disingenuous for this particular case. The fact that almost no one took advantage of the source
beyond default values is irrelevant under the eyes of semver.
So a strict
configuration option has been added. It is true by default so the above behavior is unchanged, and #909 is unfixed. Changing this to false
, will use new behavior of ignoring user initiated changes on a disabled editor, even if through an API call.
Fixes
- Fix undo when preformatted text inserted before plain text #1019
- Add focus indicator on toolbar buttons #1020
- Do not steal focus on API calls #1029
- Disable paste when Quill is disabled #1038
- Fix blank detection #1043
- Enable yarn #1041
- Documentation fixes #1026, #1027, #1032
Thank you @benbro, @cutteroid, @evansolomon, @felipeochoa, jackmu95, @joedynamite, @lance13c, @leebenson, @maartenvanvliet, @sarbbottam, @viljark, @w00fz for their contributions to this release.
Version 1.0.6
Documentation clarifications and bug fixes.
- Fix attaching toolbar to
<select>
without themes #997 - Link
code
icon tocode-block
#998 - Fix undo stack when at size limit #1001
- Fix bug where
formatLine
did not ignore inline formats 8a7190
Thanks to @dropfen, @evansolomon, @hallaathrad, @janyksteenbeek, @jackmu95, @marktron, @mcat-ee, @unhammer, and @zeke for contributions to this release!
Version 1.0.4
- Fix bubble theme defaults #963
- Fix browsers modifying inline nesting order #971
- Do not fire selection-change event on paste #974
- Support alt attribute in images #975
- Deprecate
pasteHTML
for removal in Quill 2.0 #981
Thank you jackmu95, kristeehan, ruffle1986, sergop321, sferoze, and sijad for contributions to this release.
Version 1.0.3
- Fix #928
Thank you @scottmessinger for the bug report.