Maximize your CKEditor 5 editing space with the FullScreen plugin. Offering a seamless way to expand the editor to full screen, it ensures an uninterrupted and expansive writing canvas.
npm install @pikulinpw/ckeditor5-fullscreenbash
npm install --save @ckeditor/ckeditor5-core @ckeditor/ckeditor5-ui
`
Features
- Toggle the CKEditor instance to fullscreen mode for an immersive editing experience.
- Seamless integration with CKEditor 5.
- Customizable toolbar icon for easy access.
Installation
1. Using npm:
`bash
npm install @pikulinpw/ckeditor5-fullscreen
`
2. Manual Installation:
- Clone or download this repository.
- Add it to your CKEditor 5 build using the standard Webpack module imports.
Usage
1. Add 'fullScreen' to your editor's plugin list:
`javascript
import FullScreen from '@pikulinpw/ckeditor5-fullscreen';
ClassicEditor
.create(document.querySelector('#editor'), {
plugins: [ ..., FullScreen, ...],
toolbar: [ ..., 'fullScreen', ...]
})
.then(editor => {
console.log(editor);
})
.catch(error => {
console.error(error.stack);
});
`
2. Add 'fullScreen'` to your toolbar configuration to see the fullscreen button.