New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ckeditor4-react-advanced

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ckeditor4-react-advanced

Un Official React component for CKEditor 4 – the best browser-based rich text editor.Advanced version of ckeditor with all plugins like underline are included.

  • 1.1.7
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

CKEditor 4 WYSIWYG editor Advanced component for React

This is Un-Official CKEditor 4 WYSIWYG editor Advanced component for React. CKEditor 4 screenshot

Features We Included

  • 1.official ckeditor full all plugins.

Our Custome Features We Included

  • 1.ckeditor background color change.

Supported official ckeditor plugins list in this package.

  • 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript'
  • 'TextColor', 'BGColor'
  • 'Maximize', 'ShowBlocks'
  • 'Source', '-', 'Save', 'NewPage', 'Preview', 'Print', '-', 'Templates'
  • 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'
  • Find', 'Replace', '-', 'SelectAll', '-', 'Scayt'
  • 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'
  • 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language'
  • 'Link', 'Unlink', 'Anchor'
  • 'Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe'

Installation

 npm install ckeditor4-react-advanced

Usage

import CKEditor from 'ckeditor4-react-advanced';


<CKEditor

data={this.state.mytext}
onChange={this.onEditorChange}
config={ {
toolbar: [
['Bold', 'Italic','Underline', 'Link','Unlink','Image'],
['NumberedList', 'BulletedList', 'list', 'indent', 'blocks' ,'Paragraph' ]
],

width: '600px',
height: '350px',

}

}
/>

For Change ckeditor background color

    import CKEditor from 'ckeditor4-react-advanced';
	CKEditor.editorbgcolor = 'yellow';  //you can also use htmlcolor code like #fff000

		
			
     <CKEditor
           data={this.state.mytext}
			onChange={this.onEditorChange}
			config={ {
			toolbar: [
			['Bold', 'Italic','Underline', 'Link','Unlink','Image'],
			['NumberedList', 'BulletedList', 'list', 'indent', 'blocks' ,'Paragraph' ]
			],

			width: '600px',
			height: '350px',

			}

			}
			/>

Output

enter image description here

Documentation and examples

See the official CKEditor 4 WYSIWYG Editor React Integration article in the CKEditor 4 documentation.

You can also check out CKEditor 4 WYSIWYG Editor React Integration example in CKEditor 4 Examples.

Keywords

FAQs

Package last updated on 10 May 2020

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