Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ckeditor/ckeditor5-react

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-react - npm Package Versions

123

3.0.0

Diff

Changelog

Source

3.0.0 (2020-10-28)

BREAKING CHANGES

  • The onInit property was renamed to onReady 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 the initialData 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. the onChange 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 - When true, it means that the editor component will restart itself.

    • {Boolean} willContextRestart - When true, it means that the context component will restart itself.

      The willEditorRestart property will not appear when the error has occurred in the context feature. The willContextRestart property will not appear when the error has occurred in the editor.

Both components (<CKEditor> and <CKEditorContext>) will internally use the Watchdog class that restarts the editor or context when an error occurs.

ckeditor
published 2.1.0 •

Changelog

Source

2.1.0 (2020-01-16)

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.

ckeditor
published 2.0.0 •

Changelog

Source

2.0.0 (2019-11-22)

Other changes

BREAKING CHANGE

  • <CKEditor> React component is now distributed in ES6 instead of ES5. See #105.
ckeditor
published 1.1.3 •

Changelog

Source

1.1.3 (2019-04-01)

Bug fixes

  • The <CKEditor> component will not update anything until it is not ready. Closes #83. (63cb97d)
ckeditor
published 1.1.2 •

Changelog

Source

1.1.2 (2019-03-26)

Bug fixes

  • The <CKEditor> component will not be updated by the React itself. The editor won't freeze if the #data property was specified as a static string. Closes #75. Closes #78. (bdb2ce3)
ckeditor
published 1.1.1 •

Changelog

Source

1.1.1 (2019-02-28)

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 the editor.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

ckeditor
published 1.1.0 •

Changelog

Source

1.1.0 (2018-11-29)

Features

  • Introduced onFocus and onBlur properties to the <CKEditor> component. Closes #49. (97d05c9)
  • Introduced the disabled property which allows switching the editor to the read-only mode. Closes #53. (6765006)

Bug fixes

  • Prevented an infinite loop when the data property is missing. Closes #39. (e16430a)
ckeditor
published 1.0.0 •

Changelog

Source

1.0.0 (2018-10-09)

Internal changes only (updated dependencies, documentation, etc.).

ckeditor
published 1.0.0-beta.1 •

Changelog

Source

1.0.0-beta.1 (2018-07-26)

First developer preview. It contains a ready-to-use <CKEditor> component that allows using CKEditor 5 Builds and CKEditor 5 Framework in React applications.

ckeditor
published 0.1.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc