| 12345678910111213141516171819202122232425262728293031323334 |
- /**
- * @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( parent, character, attrs ) {
- super( parent, attrs );
- /**
- * Described character.
- *
- * @readonly
- * @property {String} character
- */
- this.character = character;
- }
- }
- return Character;
- } );
|