Changelog History
Page 1
-
v4.0.0 Changes
February 09, 2022๐ฅ BREAKING CHANGES
- โฌ๏ธ Upgraded the minimal versions of Node.js to
14.0.0
due to the end of LTS.
๐ Bug fixes
- ๐ Use
async/await
inCKEditorContext#_destroyContext()
to handle context destruction properly. Closes #283. (commit)
Other changes
- โก๏ธ Updated the required version of Node.js to 14. See ckeditor/ckeditor5#10972. (commit)
- โฌ๏ธ Upgraded the minimal versions of Node.js to
-
v3.0.3 Changes
October 05, 2021๐ Internal changes only (updated dependencies, documentation, etc.).
-
v3.0.2 Changes
March 08, 2021 -
v3.0.1 Changes
February 09, 2021Other changes
- โ Added
[email protected]^17
as allowed version inpeerDependencies
. (commit)
- โ Added
-
v3.0.0 Changes
October 28, 2020๐ฅ BREAKING CHANGES
- The
onInit
property was renamed toonReady
and can be called multiple times (after the initialization and after the component is ready when an error occurred). ๐ฆ The entry point of the package has changed. The default import was removed since the package provides more than a single component now. Use
import { CKEditor } from '@ckeditor/ckeditor5-react';
instead of
import CKEditor from '@ckeditor/ckeditor5-react';
๐ Features
- Support for the
config.initialData
option in the configuration object when creating the<CKEditor>
component. When passing the[data]
property and theinitialData
value in the configuration object, the later one will take precedence and a warning message will be logged on the console. (commit) - โ
The
<CKEditor>
component contains the built-in watchdog feature. Closes #118. (commit) - โ
Introduced the
<CKEditorContext>
component that supports the context feature. (commit) - โ Added the
id
property which is used to distinguish different documents. When this property changes, the component restarts the underlying editor instead of setting data on it, which allows e.g. for switching between collaboration documents and fixes a couple of issues (e.g. theonChange
event no longer fires during changing the document). Closes #168, #169. (commit) ๐ The
onError()
callback will be called with two arguments. The first one will be an error object (as it was before the release 3+). A second argument is an object that contains two properties:. (commit){String} phase
:'initialization'|'runtime'
- Informs when the error has occurred (during the editor/context initialization or after the initialization).{Boolean} willEditorRestart
- Whentrue
, it means that the editor component will restart itself.{Boolean} willContextRestart
- Whentrue
, it means that the context component will restart itself.
The
willEditorRestart
property will not appear when the error has occurred in the context feature. ThewillContextRestart
property will not appear when the error has occurred in the editor.
Both components (
<CKEditor>
and<CKEditorContext>
) will internally use theWatchdog
class that restarts the editor or context when an error occurs. - The
-
v2.1.0 Changes
January 16, 2020๐ Features
๐ Introduced support for
onError
callback that is being called if an error occurred during the editor's initialization. Closes #123. (becf9f7)Thanks to @ansorensen.
-
v2.0.0 Changes
November 22, 2019Other changes
<CKEditor>
React component will be distributed in ES6 instead of ES5. Closes #105. (ec34041)- โ Removed the BrowserStack integration from this repository. See ckeditor/ckeditor5#1742. (2379fbf)
๐ฅ BREAKING CHANGE
- ๐
<CKEditor>
React component is now distributed in ES6 instead of ES5. See #105.
-
v1.1.3 Changes
April 01, 2019 -
v1.1.2 Changes
March 26, 2019 -
v1.1.1 Changes
February 28, 2019๐ Bug fixes
- ๐ Fixed integration with collaboration features by changing the way how the initial data are passed to an editor instance. Previously the
<ckeditor>
component had been using theeditor.setData()
method which produces invalid results in collaboration. Now the initial data are injected directly into the container on which the editor will be created. Closes #68. (1c93b3e)
Other changes
- โ Added minimal versions of Node and npm. See: ckeditor/ckeditor5#1507. (7b1777c)
- ๐ Fixed integration with collaboration features by changing the way how the initial data are passed to an editor instance. Previously the