@ckeditor/ckeditor5-react
Advanced tools
Changelog
9.1.0 (2024-09-05)
We added an onChangeInitializedEditors
callback to CKEditorContext
component to allow tracking newly initialized editors within the JSX React tree.
Example
<CKEditorContext
context={ ClassicEditor.Context }
contextWatchdog={ ClassicEditor.ContextWatchdog }
onChangeInitializedEditors={ editors => {
console.log( editors );
}}
>
<CKEditor
editor={ ClassicEditor }
data="<h2>Editor</h2>"
contextItemMetadata={{
name: 'editor1',
user: { id: '2' }
}}
/>
<CKEditor
editor={ ClassicEditor }
data="<h2>Another Editor</h2><p>... in a common Context</p>"
contextItemMetadata={{
name: 'editor2'
}}
/>
</CKEditorContext>
onChangeInitializedEditors
will be called twice in the example above:
{ editor1: ... }
{ editor1: ..., editor2: ... }
⚠️ Order of initialization is not guaranteed. editor2
might be initialized before editor1
.
onChangeInitializedEditors
callback to CKEditorContext to allow tracking of newly initialized editors within the JSX React tree. Closes #513. (commit)useCKEditorCloud
hook for managing asynchronous loading of CKEditor from a CDN. (commit)withCKEditorCloud
HOC to simplify CKEditor integration with CDN in React components. (commit)Changelog
9.0.0-alpha.1 (2024-07-17)
CKEditor
to CKEDITOR_REACT
.classic
so that react-jsx-runtime
is not bundled. (commit)CKEditor
to CKEDITOR_REACT
to match the new convention. See ckeditor/ckeditor5#16736. (commit)Changelog
9.0.0-alpha.1 (2024-07-17)
CKEditor
to CKEDITOR_REACT
.classic
so that react-jsx-runtime
is not bundled. (commit)CKEditor
to CKEDITOR_REACT
to match the new convention. See ckeditor/ckeditor5#16736. (commit)Changelog
9.0.0-alpha.0 (2024-07-15)
We are excited to announce the alpha release of the next major version of the React integration.
In this release, we have introduced the following breaking changes that should make using the integration more intuitive and easier.
<CKEditorContext>
component and the useMultiRootEditor
hook should no longer throw errors.CKEditorContext
format to prevent race conditions in the CKEditor
component. (commit)Changelog
8.0.0 (2024-06-26)
We are excited to announce the next major version of the React integration.
This release is intended to allow the integration to work with the latest version of new installation methods.
Changelog
8.0.0-alpha.0 (2024-06-05)
We are happy to announce the alpha release of the next major version of the React integration.
This release is intended to allow the integration to work with existing and new installation methods announced in this post.
Please refer to our nightly documentation build for the installation instructions.
contextWatchdog
prop to the <CKEditorContext>
component.ckeditor5
package and not runtime code to make the integration work with existing and new installation methods. (commit)Changelog
6.3.0 (2024-04-25)
disableTwoWayDataBinding
flag which disabled the two-way binding between the multi-editor and React state. Please read a new guide explainig the useMultiRootEditor()
hook. Closes #457. (commit)Changelog
6.2.0 (2023-11-21)
useMultiRootEditor
hook. See the new samples to learn more. Closes #257. (commit)