| 1234567891011121314151617181920212223242526272829303132333435 |
- /**
- * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
- 'use strict';
- CKEDITOR.define( [ 'document/node' ], function( Node ) {
- /**
- * Data structure for character stored in the linear data.
- *
- * @class Character
- */
- class Character extends Node {
- /**
- * Creates character linear item.
- *
- * @param {String} character Described character.
- * @constructor
- */
- constructor( character, attrs ) {
- super( attrs );
- /**
- * Described character.
- *
- * @readonly
- * @property {String} character
- */
- this.character = character;
- }
- }
- return Character;
- } );
|