devextreme-quill
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -112,7 +112,3 @@ import Delta from 'quill-delta'; | ||
}); | ||
const contents = this.clipboard.convert({ | ||
html: `${html}<p><br></p>`, | ||
text: '\n', | ||
}); | ||
this.setContents(contents); | ||
this.setContents(this.getInitialContent(html)); | ||
this.history.clear(); | ||
@@ -128,2 +124,9 @@ if (this.options.placeholder) { | ||
getInitialContent(html) { | ||
return this.clipboard.convert({ | ||
html: `${html}<p><br></p>`, | ||
text: '\n', | ||
}); | ||
} | ||
addContainer(container, refNode = null) { | ||
@@ -130,0 +133,0 @@ if (typeof container === 'string') { |
{ | ||
"name": "devextreme-quill", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Core of the DevExtrene HtmlEditor", | ||
@@ -45,3 +45,3 @@ "author": "Developer Express Inc.", | ||
"babel-plugin-istanbul": "^6.0.0", | ||
"css-loader": "^3.5.1", | ||
"css-loader": "^5.2.5", | ||
"eslint": "^6.8.0", | ||
@@ -51,3 +51,3 @@ "eslint-config-airbnb": "^18.1.0", | ||
"eslint-import-resolver-webpack": "~0.12.1", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
@@ -62,3 +62,3 @@ "eslint-plugin-prettier": "^3.1.2", | ||
"jasmine-core": "^3.5.0", | ||
"karma": "^5.0.1", | ||
"karma": "^6.3.2", | ||
"karma-chrome-launcher": "^3.1.0", | ||
@@ -65,0 +65,0 @@ "karma-coverage": "^2.0.3", |
@@ -36,2 +36,3 @@ import './polyfills'; | ||
import Table from './modules/table'; | ||
import Multiline from './modules/multiline'; | ||
@@ -89,2 +90,3 @@ Quill.register( | ||
'modules/table': Table, | ||
'modules/multiline': Multiline, | ||
}, | ||
@@ -91,0 +93,0 @@ true, |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
1642398
56
35573
1