mindsoft-custom-ckeditor5
v0.0.4
Published
Custom CKEditor 5 build working as classic build with almost all buttons
Downloads
9
Maintainers
Readme
CKEditor 5 Custom Build (Classic Build with almost all buttons)
This build allows you to toggle toolbar(hide/unhide) from React with states
Quick start
Working specially for React (Simply install it with npm)
Import it as any other Node Module
You need to configure the custom build as required. Ex:.
config={{
toolbar: [
"heading",
"|",
"bold",
"italic",
"link",
"bulletedList",
"numberedList",
"blockQuote",
],
heading: {
options: [
{
model: "paragraph",
title: "Paragraph",
class: "ck-heading_paragraph",
},
{
model: "heading1",
view: "h1",
title: "Heading 1",
class: "ck-heading_heading1",
},
{
model: "heading2",
view: "h2",
title: "Heading 2",
class: "ck-heading_heading2",
},
],
},
}}