Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quill

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quill - npm Package Compare versions

Comparing version 1.0.0-beta.11 to 1.0.0-rc.0

dist/quill.core.css

53

CHANGELOG.md

@@ -0,1 +1,54 @@

# 1.0.0-rc.0
Take a look at [Quill 1.0 Release Candidate](https://quilljs.com/blog/quill-1-0-release-candidate-released/) for more details.
### Updates
- Going forward the minimal stylesheet build will be named quill.core.css, instead of quill.css
### Bug Fixes
- Fix identifying ordered and bulletd lists [#846](https://github.com/quilljs/quill/issues/846) [#847](https://github.com/quilljs/quill/issues/847)
- Fix bullet interaction with text direction [#848](https://github.com/quilljs/quill/issues/848)
A huge thank you to all contributors to through the beta! Special thanks goes to [@benbro](https://github.com/benbro) and [@sachinrekhi](https://github.com/sachinrekhi) who together submitted submitted almost 50 Issues and Pull Requests!
- [@abejdaniels](https://github.com/abejdaniels)
- [@anovi](https://github.com/anovi)
- [@benbro](https://github.com/benbro)
- [@bram2w](https://github.com/bram2w)
- [@brynjagr](https://github.com/brynjagr)
- [@CapTec](https://github.com/CapTec)
- [@Cinamonas](https://github.com/Cinamonas)
- [@clemmy](https://github.com/clemmy)
- [@crisbeto](https://github.com/crisbeto)
- [@cutteroid](https://github.com/cutteroid)
- [@DadaMonad](https://github.com/DadaMonad)
- [@davelozier](https://github.com/davelozier)
- [@emanuelbsilva](https://github.com/emanuelbsilva)
- [@ersommer](https://github.com/ersommer)
- [@fernandogmar](https://github.com/fernandogmar)
- [@george-norris-salesforce](https://github.com/george-norris-salesforce)
- [@jackmu95](https://github.com/jackmu95)
- [@jasonmng](https://github.com/jasonmng)
- [@jbrowning](https://github.com/jbrowning)
- [@jonnolen](https://github.com/jonnolen)
- [@KameSama](https://github.com/KameSama)
- [@kei-ito](https://github.com/kei-ito)
- [@kylebragger](https://github.com/kylebragger)
- [@LucVanPelt](https://github.com/LucVanPelt)
- [@lukechapman](https://github.com/lukechapman)
- [@micimize](https://github.com/micimize)
- [@mmorearty](https://github.com/mmorearty)
- [@mshamaiev-intel471](https://github.com/mshamaiev-intel471)
- [@quentez](https://github.com/quentez)
- [@sachinrekhi](https://github.com/sachinrekhi)
- [@sagacitysite](https://github.com/sagacitysite)
- [@saw](https://github.com/saw)
- [@stalniy](https://github.com/stalniy)
- [@tOgg1](https://github.com/tOgg1)
- [@u9520107](https://github.com/u9520107)
- [@WriterStat](https://github.com/WriterStat)
# 1.0.0-beta.11

@@ -2,0 +55,0 @@

2

core.js

@@ -36,2 +36,2 @@ import Parchment from 'parchment';

export default Quill;
module.exports = Quill;

@@ -233,3 +233,3 @@ import Delta from 'rich-text/lib/delta';

}
if (op.attributes != null && (op.attributes.list || op.attributes.bullet)) {
if (op.attributes != null && (op.attributes.list === true || op.attributes.bullet === true)) {
op = clone(op);

@@ -236,0 +236,0 @@ if (op.attributes.list) {

@@ -59,3 +59,2 @@ import './polyfill';

}
options.bounds = typeof options.bounds === 'string' ? document.querySelector(options.bounds) : options.bounds;
let html = this.container.innerHTML.trim();

@@ -128,3 +127,3 @@ this.container.classList.add('ql-container');

format(name, value, source = Emitter.sources.API) {
let range = this.getSelection();
let range = this.getSelection(true);
let change = new Delta();

@@ -310,3 +309,3 @@ if (range == null) return change;

Quill.sources = Emitter.sources;
Quill.version = QUILL_VERSION;
Quill.version = typeof(QUILL_VERSION) === 'undefined' ? 'dev' : QUILL_VERSION;

@@ -313,0 +312,0 @@ Quill.imports = {

@@ -306,23 +306,16 @@ import clone from 'clone';

function normalize(binding) {
switch (typeof binding) {
case 'string':
if (Keyboard.keys[binding.toUpperCase()] != null) {
binding = { key: Keyboard.keys[binding.toUpperCase()] };
} else if (binding.length === 1) {
binding = { key: binding.toUpperCase().charCodeAt(0) };
} else {
return null;
}
break;
case 'number':
binding = { key: binding };
break;
case 'object':
binding = clone(binding, false);
break;
default:
return null;
if (typeof binding === 'string' || typeof binding === 'number') {
return normalize({ key: binding });
}
if (typeof binding === 'object') {
binding = clone(binding, false);
}
if (typeof binding.key === 'string') {
binding.key = binding.key.toUpperCase().charCodeAt(0);
if (Keyboard.keys[binding.key.toUpperCase()] != null) {
binding.key = Keyboard.keys[binding.key.toUpperCase()];
} else if (binding.key.length === 1) {
binding.key = binding.key.toUpperCase().charCodeAt(0);
} else {
return null;
}
}

@@ -329,0 +322,0 @@ return binding;

{
"name": "quill",
"version": "1.0.0-beta.11",
"version": "1.0.0-rc.0",
"description": "Cross browser rich text editor",

@@ -18,4 +18,5 @@ "author": "Jason Chen <jhchen7@gmail.com>",

"dist/quill.snow.css",
"dist/quill.css",
"dist/quill.core.css",
"dist/quill.js",
"dist/quill.core.js",
"dist/quill.min.js.map",

@@ -39,3 +40,3 @@ "dist/quill.min.js",

"extend": "~3.0.0",
"parchment": "1.0.0-beta.11",
"parchment": "1.0.0-rc.0",
"rich-text": "~3.0.2"

@@ -82,3 +83,3 @@ },

"scripts": {
"build": "webpack --config _develop/webpack.config.js --devtool hidden-source-map; rm dist/quill; rm dist/quill.bubble; rm dist/quill.snow; rm dist/*.css.map",
"build": "webpack --config _develop/webpack.config.js --devtool hidden-source-map; rm dist/quill; rm dist/quill.bubble; rm dist/quill.snow; rm dist/quill.core; rm dist/*.css.map",
"build:release": "./_develop/scripts/release.sh",

@@ -85,0 +86,0 @@ "start": "npm run build; foreman start -f _develop/procfile",

@@ -50,3 +50,4 @@ import extend from 'extend';

super(quill, bounds);
this.quill.on(Emitter.events.SELECTION_CHANGE, (range) => {
this.quill.on(Emitter.events.EDITOR_CHANGE, (type, range) => {
if (type !== Emitter.events.SELECTION_CHANGE) return;
if (range != null && range.length > 0) {

@@ -53,0 +54,0 @@ this.show();

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 not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc