@steroidsjs/ckeditor5
Version:
The development environment of CKEditor 5 – the best browser-based rich text editor.
35 lines (30 loc) • 637 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 ui/toolbar/toolbarlinebreakview
*/
import View from '../view';
/**
* The toolbar line break view class.
*
* @extends module:ui/view~View
*/
export default class ToolbarLineBreakView extends View {
/**
* @inheritDoc
*/
constructor( locale ) {
super( locale );
this.setTemplate( {
tag: 'span',
attributes: {
class: [
'ck',
'ck-toolbar__line-break'
]
}
} );
}
}