Socket
Socket
Sign inDemoInstall

quill

Package Overview
Dependencies
7
Maintainers
2
Versions
94
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-beta.1 to 2.0.0-beta.2

7

core/composition.js

@@ -25,3 +25,8 @@ "use strict";

if (this.isComposing) {
this.handleCompositionEnd(event);
// Webkit makes DOM changes after compositionend, so we use microtask to
// ensure the order.
// https://bugs.webkit.org/show_bug.cgi?id=31902
queueMicrotask(() => {
this.handleCompositionEnd(event);
});
}

@@ -28,0 +33,0 @@ });

6

core/quill.js

@@ -39,3 +39,3 @@ "use strict";

static sources = _emitter.default.sources;
static version = typeof "2.0.0-beta.1" === 'undefined' ? 'dev' : "2.0.0-beta.1";
static version = typeof "2.0.0-beta.2" === 'undefined' ? 'dev' : "2.0.0-beta.2";
static imports = {

@@ -326,3 +326,3 @@ delta: _quillDelta.default,

if (typeof index === 'number') {
length = this.getLength() - index;
length = length ?? this.getLength() - index;
}

@@ -337,3 +337,3 @@ // @ts-expect-error

if (typeof index === 'number') {
length = this.getLength() - index;
length = length ?? this.getLength() - index;
}

@@ -340,0 +340,0 @@ // @ts-expect-error

/*!
* Quill Editor v2.0.0-beta.1
* Quill Editor v2.0.0-beta.2
* https://quilljs.com

@@ -4,0 +4,0 @@ * Copyright (c) 2017-2024, Slab

/*!
* Quill Editor v2.0.0-beta.1
* Quill Editor v2.0.0-beta.2
* https://quilljs.com

@@ -4,0 +4,0 @@ * Copyright (c) 2017-2024, Slab

/*!
* Quill Editor v2.0.0-beta.1
* Quill Editor v2.0.0-beta.2
* https://quilljs.com

@@ -4,0 +4,0 @@ * Copyright (c) 2017-2024, Slab

/*!
* Quill Editor v2.0.0-beta.1
* Quill Editor v2.0.0-beta.2
* https://quilljs.com

@@ -4,0 +4,0 @@ * Copyright (c) 2017-2024, Slab

/*!
* Quill Editor v2.0.0-beta.1
* Quill Editor v2.0.0-beta.2
* https://quilljs.com

@@ -4,0 +4,0 @@ * Copyright (c) 2017-2024, Slab

@@ -65,3 +65,3 @@ "use strict";

if (!html) {
return new _quillDelta.default().insert(text || '');
return new _quillDelta.default().insert(text || '', formats);
}

@@ -68,0 +68,0 @@ const delta = this.convertHTML(html);

@@ -43,3 +43,3 @@ "use strict";

this.quill.keyboard.addBinding({
key: 'z',
key: ['z', 'Z'],
shortKey: true,

@@ -46,0 +46,0 @@ shiftKey: true

{
"name": "quill",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"description": "Your powerful, 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 not supported yet

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 too big to display

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc