Comparing version 1.3.3 to 1.3.4
@@ -0,1 +1,9 @@ | ||
# 1.3.4 | ||
- Loosen dependency specification [#1748](https://github.com/quilljs/quill/issues/1748) | ||
- Loosen list autofill constraint [#1749](https://github.com/quilljs/quill/issues/1749) | ||
Thanks to [@danfuzz](https://github.com/danfuzz) and [@SoftVision-CarmenFat](https://github.com/SoftVision-CarmenFat) for contributions to this release! | ||
# 1.3.3 | ||
@@ -37,3 +45,3 @@ | ||
- Use DOM API to determine selected `<select>` option [#1576](https://github.com/quilljs/quill/pull/1576) | ||
- Add `:focus` styles to toolbbar [#1540](https://github.com/quilljs/quill/issues/1540) | ||
- Add `:focus` styles to toolbar [#1540](https://github.com/quilljs/quill/issues/1540) | ||
- Allow users to undo automatic keyboard completions [#1538](https://github.com/quilljs/quill/issues/1538) | ||
@@ -40,0 +48,0 @@ - Use github-pages gem to make development environment consistent [#1536](https://github.com/quilljs/quill/issues/1536) [#1544](https://github.com/quilljs/quill/pull/1544) |
@@ -36,2 +36,2 @@ import Parchment from 'parchment'; | ||
module.exports = Quill; | ||
export default Quill; |
@@ -6,3 +6,3 @@ import EventEmitter from 'eventemitter3'; | ||
const EVENTS = ['selectionchange', 'mousedown', 'mouseup']; | ||
const EVENTS = ['selectionchange', 'mousedown', 'mouseup', 'click']; | ||
@@ -9,0 +9,0 @@ EVENTS.forEach(function(eventName) { |
import Embed from '../blots/embed'; | ||
class Mention extends Embed { | ||
static create(value) { | ||
let node = super.create(value); | ||
const node = super.create(value); | ||
node.setAttribute('data-id', value); | ||
node.setAttribute('href', '/' + value); | ||
node.setAttribute('href', `/${value}`); | ||
node.textContent = '@quilljs'; | ||
@@ -21,3 +20,2 @@ return node; | ||
export default Mention; |
@@ -253,3 +253,3 @@ import clone from 'clone'; | ||
format: { list: false }, | ||
prefix: /^\s*?(1\.|-|\[ ?\]|\[x\])$/, | ||
prefix: /^\s*?(\d+\.|-|\[ ?\]|\[x\])$/, | ||
handler: function(range, context) { | ||
@@ -256,0 +256,0 @@ let length = context.prefix.length; |
{ | ||
"name": "quill", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "Your powerful, rich text editor", | ||
@@ -35,39 +35,39 @@ "author": "Jason Chen <jhchen7@gmail.com>", | ||
"dependencies": { | ||
"clone": "~2.1.1", | ||
"deep-equal": "~1.0.1", | ||
"eventemitter3": "~2.0.3", | ||
"extend": "~3.0.1", | ||
"parchment": "1.1.0", | ||
"quill-delta": "3.6.2" | ||
"clone": "^2.1.1", | ||
"deep-equal": "^1.0.1", | ||
"eventemitter3": "^2.0.3", | ||
"extend": "^3.0.1", | ||
"parchment": "1.1.1", | ||
"quill-delta": "^3.6.2" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.25.0", | ||
"babel-loader": "^7.1.1", | ||
"babel-plugin-istanbul": "^4.1.4", | ||
"babel-core": "^6.26.0", | ||
"babel-loader": "^7.1.2", | ||
"babel-plugin-istanbul": "^4.1.5", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", | ||
"babel-preset-es2015": "^6.24.1", | ||
"css-loader": "~0.28.4", | ||
"eslint": "^4.3.0", | ||
"css-loader": "~0.28.7", | ||
"eslint": "^4.9.0", | ||
"eslint-loader": "^1.9.0", | ||
"extract-text-webpack-plugin": "^3.0.0", | ||
"html-loader": "~0.5.0", | ||
"extract-text-webpack-plugin": "^3.0.1", | ||
"html-loader": "~0.5.1", | ||
"http-proxy": "^1.16.2", | ||
"jasmine-core": "^2.7.0", | ||
"karma": "^1.7.0", | ||
"karma-chrome-launcher": "^2.1.1", | ||
"jasmine-core": "^2.8.0", | ||
"karma": "^1.7.1", | ||
"karma-chrome-launcher": "^2.2.0", | ||
"karma-coverage": "^1.1.1", | ||
"karma-jasmine": "^1.1.0", | ||
"karma-sauce-launcher": "^1.1.0", | ||
"karma-sauce-launcher": "^1.2.0", | ||
"lodash": "^4.17.4", | ||
"style-loader": "~0.18.2", | ||
"style-loader": "~0.19.0", | ||
"stylus": "~0.54.5", | ||
"stylus-loader": "^3.0.1", | ||
"ts-loader": "^2.3.2", | ||
"typescript": "^2.4.2", | ||
"wdio-jasmine-framework": "~0.3.1", | ||
"wdio-spec-reporter": "~0.1.0", | ||
"ts-loader": "^3.0.3", | ||
"typescript": "^2.5.3", | ||
"wdio-jasmine-framework": "~0.3.2", | ||
"wdio-spec-reporter": "~0.1.2", | ||
"webdriver-manager": "^12.0.6", | ||
"webdriverio": "^4.8.0", | ||
"webpack": "^3.4.1", | ||
"webpack-dev-server": "^2.6.1" | ||
"webpack": "^3.8.1", | ||
"webpack-dev-server": "^2.9.2" | ||
}, | ||
@@ -74,0 +74,0 @@ "license": "BSD-3-Clause", |
@@ -104,2 +104,2 @@ import Quill from './core'; | ||
module.exports = Quill; | ||
export default Quill; |
@@ -48,3 +48,3 @@ import extend from 'extend'; | ||
}; | ||
document.body.addEventListener('click', listener); | ||
quill.emitter.listenDOM('click', document.body, listener); | ||
} | ||
@@ -51,0 +51,0 @@ |
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
2293349
24581
+ Addedcall-bind@1.0.7(transitive)
+ Addeddeep-equal@1.1.2(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedfunctions-have-names@1.2.3(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-arguments@1.1.1(transitive)
+ Addedis-date-object@1.0.5(transitive)
+ Addedis-regex@1.1.4(transitive)
+ Addedobject-is@1.1.6(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedparchment@1.1.1(transitive)
+ Addedquill-delta@3.6.3(transitive)
+ Addedregexp.prototype.flags@1.5.3(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedset-function-name@2.0.2(transitive)
- Removeddeep-equal@1.0.1(transitive)
- Removedparchment@1.1.0(transitive)
- Removedquill-delta@3.6.2(transitive)
Updatedclone@^2.1.1
Updateddeep-equal@^1.0.1
Updatedeventemitter3@^2.0.3
Updatedextend@^3.0.1
Updatedparchment@1.1.1
Updatedquill-delta@^3.6.2