@ckeditor/ckeditor5-heading
Advanced tools
Comparing version 17.0.0 to 18.0.0
Changelog | ||
========= | ||
## [18.0.0](https://github.com/ckeditor/ckeditor5-heading/compare/v17.0.0...v18.0.0) (2020-03-19) | ||
### Other changes | ||
* Updated translations. ([99855b5](https://github.com/ckeditor/ckeditor5-heading/commit/99855b5)) | ||
## [17.0.0](https://github.com/ckeditor/ckeditor5-heading/compare/v16.0.0...v17.0.0) (2020-02-19) | ||
@@ -5,0 +12,0 @@ |
{ | ||
"name": "@ckeditor/ckeditor5-heading", | ||
"version": "17.0.0", | ||
"version": "18.0.0", | ||
"description": "Headings feature for CKEditor 5.", | ||
@@ -13,19 +13,19 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^17.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^17.0.0", | ||
"@ckeditor/ckeditor5-ui": "^17.0.0", | ||
"@ckeditor/ckeditor5-utils": "^17.0.0" | ||
"@ckeditor/ckeditor5-core": "^18.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^18.0.0", | ||
"@ckeditor/ckeditor5-ui": "^18.0.0", | ||
"@ckeditor/ckeditor5-utils": "^18.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-alignment": "^17.0.0", | ||
"@ckeditor/ckeditor5-basic-styles": "^17.0.0", | ||
"@ckeditor/ckeditor5-block-quote": "^17.0.0", | ||
"@ckeditor/ckeditor5-clipboard": "^17.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^17.0.0", | ||
"@ckeditor/ckeditor5-engine": "^17.0.0", | ||
"@ckeditor/ckeditor5-enter": "^17.0.0", | ||
"@ckeditor/ckeditor5-image": "^17.0.0", | ||
"@ckeditor/ckeditor5-typing": "^17.0.0", | ||
"@ckeditor/ckeditor5-undo": "^17.0.0", | ||
"@ckeditor/ckeditor5-upload": "^17.0.0", | ||
"@ckeditor/ckeditor5-alignment": "^18.0.0", | ||
"@ckeditor/ckeditor5-basic-styles": "^18.0.0", | ||
"@ckeditor/ckeditor5-block-quote": "^18.0.0", | ||
"@ckeditor/ckeditor5-clipboard": "^18.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^18.0.0", | ||
"@ckeditor/ckeditor5-engine": "^18.0.0", | ||
"@ckeditor/ckeditor5-enter": "^18.0.0", | ||
"@ckeditor/ckeditor5-image": "^18.0.0", | ||
"@ckeditor/ckeditor5-typing": "^18.0.0", | ||
"@ckeditor/ckeditor5-undo": "^18.0.0", | ||
"@ckeditor/ckeditor5-upload": "^18.0.0", | ||
"eslint": "^5.5.0", | ||
@@ -32,0 +32,0 @@ "eslint-config-ckeditor5": "^2.0.0", |
@@ -15,3 +15,2 @@ /** | ||
import ViewDowncastWriter from '@ckeditor/ckeditor5-engine/src/view/downcastwriter'; | ||
import ViewDocument from '@ckeditor/ckeditor5-engine/src/view/document'; | ||
import first from '@ckeditor/ckeditor5-utils/src/first'; | ||
@@ -146,9 +145,10 @@ import { | ||
getBody() { | ||
const data = this.editor.data; | ||
const model = this.editor.model; | ||
const root = this.editor.model.document.getRoot(); | ||
const viewWriter = new ViewDowncastWriter( new ViewDocument() ); | ||
const editor = this.editor; | ||
const data = editor.data; | ||
const model = editor.model; | ||
const root = editor.model.document.getRoot(); | ||
const viewWriter = new ViewDowncastWriter( editor.editing.view.document ); | ||
const rootRange = model.createRangeIn( root ); | ||
const viewDocumentFragment = new ViewDocumentFragment(); | ||
const viewDocumentFragment = new ViewDocumentFragment( editor.editing.view.document ); | ||
@@ -176,3 +176,3 @@ // Convert the entire root to view. | ||
// view -> data | ||
return this.editor.data.processor.toData( viewDocumentFragment ); | ||
return editor.data.processor.toData( viewDocumentFragment ); | ||
} | ||
@@ -179,0 +179,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 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 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
164171
+ Added@ckeditor/ckeditor5-core@18.0.0(transitive)
+ Added@ckeditor/ckeditor5-engine@18.0.0(transitive)
+ Added@ckeditor/ckeditor5-paragraph@18.0.0(transitive)
+ Added@ckeditor/ckeditor5-ui@18.0.0(transitive)
+ Added@ckeditor/ckeditor5-utils@18.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@17.0.0(transitive)
- Removed@ckeditor/ckeditor5-engine@17.0.0(transitive)
- Removed@ckeditor/ckeditor5-paragraph@17.0.0(transitive)
- Removed@ckeditor/ckeditor5-ui@17.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@17.0.0(transitive)