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

@ckeditor/ckeditor5-inspector

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-inspector

The official CKEditor 5 instance inspector.

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
25K
increased by6.36%
Maintainers
1
Weekly downloads
 
Created
Source

CKEditor 5 inspector

Join the chat at https://gitter.im/ckeditor/ckeditor5 npm version devDependency Status

The official CKEditor 5 rich text editor instance inspector for developers.

The inspector panel attached to the editor instance.

Usage

Include the script to load the inspector:

<script src="path/to/inspector.js"></script>

Call CKEditorInspector.attach( name, editor ) when editor instance is ready:

ClassicEditor
    .create( ... )
    .then( editor => {
        CKEditorInspector.attach( 'editor-name', editor );
    } )
    .catch( error => {
        console.error( error );
    } );

Note: You can attach multiple editors to the inspector. Select the editor instance in the drop–down inside the inspector panel to switch context.

Call CKEditorInspector.detach( name ) to detach an instance from the inspector.

Compatibility

The inspector works with CKEditor 5 v12.0.0+.

Development

To configure the environment:

git clone git@github.com:ckeditor/ckeditor5-inspector.git
cd ckeditor5-inspector
yarn install

Working with the code

Start the webpack file watcher:

yarn dev

and open http://path/to/ckeditor5-inspector/sample in your web browser.

Building

To build the production version of the inspector, run:

yarn build

Releasing

The release process is as follows (order matters):

Note: We recommend using npm for that.

npm run changelog
npm run preversion

Run the sample and make sure global CKEDITOR_INSPECTOR_VERSION is right. Then:

npm run release

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.

FAQs

Package last updated on 11 Mar 2019

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