Socket
Socket
Sign inDemoInstall

ckeditor5-bravura

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ckeditor5-bravura

The classic editor build of CKEditor 5 – the best browser-based rich text editor.


Version published
Weekly downloads
95
increased by63.79%
Maintainers
1
Install size
4.78 MB
Created
Weekly downloads
 

Readme

Source

CKEditor 5 based Editor with integrated Placeholder Plugin for Angular

Quick start

First, install the build from npm:

npm install --save ckeditor5-bravura

And use it in JavaScript application:

import * as ClassicEditor from 'ckeditor5-bravura';

// Or using the CommonJS version:
// const ClassicEditor = require( '@ckeditor/ckeditor5-build-classic' );

ClassicEditor
	.create( document.querySelector( '#editor' ) )
	.then( editor => {
		window.editor = editor;
	} )
	.catch( error => {
		console.error( 'There was a problem initializing the editor.', error );
	} );

Dependencies

Install the following package from npm:

npm install --save @ckeditor/ckeditor5-angular

Include this in the module file

import { CKEditorModule } from '@ckeditor/ckeditor5-angular';

Include this in the html file

<ckeditor [(ngModel)]="editorData" [editor]="Editor"></ckeditor>

and the following in the corresponding ts file

import * as ClassicEditor from 'ckeditor5-bravura';

...
...
...

Editor:any = ClassicEditor;

How to make changes generate a build?

After making all the changes, to generate a build run the following command from the root folder of this project by runnin the following command

yarn run build

You can test by browsing the root folder of the project using "Web Server for Chrome" or equivalent and then navigating to the file index.html in sample folder

Additional Information

https://ckeditor.com/docs/ckeditor5/latest/builds/guides/development/custom-builds.html

https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/angular.html

Keywords

FAQs

Last updated on 18 Apr 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc