@ckeditor/ckeditor5-editor-decoupled
Advanced tools
Comparing version 12.2.1 to 12.2.2
Changelog | ||
========= | ||
## [12.2.2](https://github.com/ckeditor/ckeditor5-editor-decoupled/compare/v12.2.1...v12.2.2) (2019-08-26) | ||
### Other changes | ||
* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([2e45069](https://github.com/ckeditor/ckeditor5-editor-decoupled/commit/2e45069)) | ||
* Introduced a check that prevents sharing source elements between editor instances. See [ckeditor/ckeditor5#746](https://github.com/ckeditor/ckeditor5/issues/746). ([c73b045](https://github.com/ckeditor/ckeditor5-editor-decoupled/commit/c73b045)) | ||
## [12.2.1](https://github.com/ckeditor/ckeditor5-editor-decoupled/compare/v12.2.0...v12.2.1) (2019-07-10) | ||
@@ -5,0 +13,0 @@ |
{ | ||
"name": "@ckeditor/ckeditor5-editor-decoupled", | ||
"version": "12.2.1", | ||
"version": "12.2.2", | ||
"description": "Decoupled editor implementation for CKEditor 5.", | ||
@@ -12,15 +12,15 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^12.2.1", | ||
"@ckeditor/ckeditor5-engine": "^13.2.1", | ||
"@ckeditor/ckeditor5-ui": "^13.0.2", | ||
"@ckeditor/ckeditor5-utils": "^13.0.1", | ||
"@ckeditor/ckeditor5-core": "^12.3.0", | ||
"@ckeditor/ckeditor5-engine": "^14.0.0", | ||
"@ckeditor/ckeditor5-ui": "^14.0.0", | ||
"@ckeditor/ckeditor5-utils": "^14.0.0", | ||
"lodash-es": "^4.17.10" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-basic-styles": "^11.1.3", | ||
"@ckeditor/ckeditor5-enter": "^11.0.4", | ||
"@ckeditor/ckeditor5-heading": "^11.0.4", | ||
"@ckeditor/ckeditor5-paragraph": "^11.0.4", | ||
"@ckeditor/ckeditor5-typing": "^12.1.1", | ||
"@ckeditor/ckeditor5-undo": "^11.0.4", | ||
"@ckeditor/ckeditor5-basic-styles": "^11.1.4", | ||
"@ckeditor/ckeditor5-enter": "^11.1.0", | ||
"@ckeditor/ckeditor5-heading": "^11.0.5", | ||
"@ckeditor/ckeditor5-paragraph": "^11.0.5", | ||
"@ckeditor/ckeditor5-typing": "^12.2.0", | ||
"@ckeditor/ckeditor5-undo": "^11.0.5", | ||
"eslint": "^5.5.0", | ||
@@ -38,3 +38,3 @@ "eslint-config-ckeditor5": "^2.0.0", | ||
"homepage": "https://ckeditor.com/ckeditor-5", | ||
"bugs": "https://github.com/ckeditor/ckeditor5-editor-decoupled/issues", | ||
"bugs": "https://github.com/ckeditor/ckeditor5/issues", | ||
"repository": { | ||
@@ -41,0 +41,0 @@ "type": "git", |
@@ -20,2 +20,3 @@ /** | ||
import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror'; | ||
import secureSourceElement from '@ckeditor/ckeditor5-core/src/editor/utils/securesourceelement'; | ||
@@ -72,2 +73,3 @@ /** | ||
this.sourceElement = sourceElementOrData; | ||
secureSourceElement( this ); | ||
} | ||
@@ -157,3 +159,3 @@ | ||
* // Initial data was provided so the editor UI element needs to be added manually to the DOM. | ||
* document.body.appendChild( editor.ui.element ); | ||
* document.body.appendChild( editor.ui.getEditableElement() ); | ||
* } ) | ||
@@ -213,3 +215,4 @@ * .catch( err => { | ||
* If the initial data is passed, a detached editor will be created. In this case you need to insert it into the DOM manually. | ||
* It is available under the {@link module:editor-decoupled/decouplededitorui~DecoupledEditorUI#element `editor.ui.element`} property. | ||
* It is available via | ||
* {@link module:editor-decoupled/decouplededitorui~DecoupledEditorUI#getEditableElement `editor.ui.getEditableElement()`}. | ||
* | ||
@@ -216,0 +219,0 @@ * @param {module:core/editor/editorconfig~EditorConfig} [config] The editor configuration. |
@@ -55,3 +55,5 @@ /** | ||
// This toolbar may be placed anywhere in the page so things like font size need to be reset in it. | ||
// Also because of the above, make sure the toolbar supports rounded corners. | ||
// Because of the above, make sure the toolbar supports rounded corners. | ||
// Also, make sure the toolbar has the proper dir attribute because its ancestor may not have one | ||
// and some toolbar item styles depend on this attribute. | ||
Template.extend( this.toolbar.template, { | ||
@@ -62,3 +64,4 @@ attributes: { | ||
'ck-rounded-corners' | ||
] | ||
], | ||
dir: locale.uiLanguageDirection | ||
} | ||
@@ -65,0 +68,0 @@ } ); |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
30300
438
+ Added@ckeditor/ckeditor5-ui@14.0.0(transitive)
- Removed@ckeditor/ckeditor5-engine@13.2.1(transitive)
- Removed@ckeditor/ckeditor5-ui@13.0.2(transitive)
- Removed@ckeditor/ckeditor5-utils@13.0.1(transitive)