@steroidsjs/ckeditor5
Version:
The development environment of CKEditor 5 – the best browser-based rich text editor.
39 lines (34 loc) • 944 B
JavaScript
/**
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/**
* @module page-break/pagebreak
*/
import { Plugin } from 'ckeditor5/src/core';
import { Widget } from 'ckeditor5/src/widget';
import PageBreakEditing from './pagebreakediting';
import PageBreakUI from './pagebreakui';
/**
* The page break feature.
*
* It provides the possibility to insert a page break into the rich-text editor.
*
* For a detailed overview, check the {@glink features/page-break Page break feature} documentation.
*
* @extends module:core/plugin~Plugin
*/
export default class PageBreak extends Plugin {
/**
* @inheritDoc
*/
static get requires() {
return [ PageBreakEditing, PageBreakUI, Widget ];
}
/**
* @inheritDoc
*/
static get pluginName() {
return 'PageBreak';
}
}