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

rc-ckfulleditor

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-ckfulleditor

React Ckeditor 5 - easy to integrate

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

CKEditor 5 - Easy to integrate CKEditor 5 for React

Thanks to CKEditor Team and Opeoluwa Iyi-Kuyoro.

npm version

The customize CKEditor 5 component to easily integrate for React.

CKEditor 5 screenshot

Documentation

Quick start

First, install the build from npm:

npm install --save rc-ckfulleditor

And use it in your ReactJS application:

import React from 'react'
import CKFullEditor from 'rc-ckfulleditor'

const index = () => {
  return (
    <CKFullEditor
      onChange={(event, editor) => {
        const data = editor.getData()
        console.log({ event, editor, data })
      }}
    />
  )
}

export default index

Config upload image via Cloudinary (use CloudinaryUnsigned of puff-puff)

import React from 'react'
import CKFullEditor from 'rc-ckfulleditor'

const index = () => {
  return (
    <CKFullEditor
      config={{
        // ...Ckeditor config
        cloudinary: {
          cloudName: YOUR_CLOUDINARY_NAME,
          uploadPreset: YOUR_UNSIGNED_UPLOAD_PRESET_NAME
        }
      }}
    />
  )
}

export default index

OR config upload image via your Upload Server (use CustomUpload of puff-puff)

import React from 'react'
import CKFullEditor from 'rc-ckfulleditor'

const index = () => {
  return (
    <CKFullEditor
      config={{
        // ...Ckeditor config
        customUpload: {
          url: YOUR_UPLOAD_URL
        }
      }}
    />
  )
}

export default index

See:

Note: If you are planning to integrate CKEditor 5 deep into your application, it is actually more convenient and recommended to install and import the source modules directly (like it happens in ckeditor.js). Read more in the Advanced setup guide.

License

Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md file or https://ckeditor.com/legal/ckeditor-oss-license.

Keywords

FAQs

Package last updated on 07 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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