@@ -17,6 +17,7 @@ CKEDITOR.define( [ 'utils' ], function( utils ) {
*
* @param {String} key Attribute key
* @param {Mixed} value Attribute value
+ * @constructor
*/
constructor( key, value ) {
/**
@@ -7,13 +7,11 @@
CKEDITOR.define( [ 'document/operation', 'ckeditorerror', 'utils' ], function( Operation, CKEditorError, utils ) {
- *
* @class document.Operation
class ChangeOperation extends Operation {
constructor( ranges, oldAttr, newAttr, baseVersion ) {
super( baseVersion );
@@ -16,6 +16,7 @@ CKEDITOR.define( [ 'document/node' ], function( Node ) {
* Creates character linear item.
* @param {String} character Described character.
constructor( character, attrs ) {
super( attrs );
@@ -19,6 +19,8 @@ CKEDITOR.define( [
class Document {
* Create an empty document.
+ *
constructor() {
@@ -21,6 +21,7 @@ CKEDITOR.define( [ 'document/node', 'document/nodelist' ], function( Node, NodeL
* @param {Array} attrs Array of {@link document.Attribute attributes}.
* @param {document.Node|document.Text|document.NodeList|String|Array} nodes List of nodes to be inserted.
* List of nodes can be any type accepted by the {@link document.NodeList} constructor.
constructor( name, attrs, children ) {
@@ -13,7 +13,7 @@ CKEDITOR.define( [ 'document/operation', 'document/nodelist', 'document/removeop
class InsertOperation extends Operation {
constructor( position, nodeList, baseVersion ) {
@@ -18,7 +18,7 @@ CKEDITOR.define( [
class MoveOperation extends Operation {
constructor( sourcePosition, targetPosition, nodeList, baseVersion ) {
@@ -20,6 +20,7 @@ CKEDITOR.define( [ 'document/attribute', 'utils' ], function( Attribute, utils )
* Created node has no parent. Parent of the node is set when it is attached to the {@link document.Element}.
* @param {Array} attrs Array of attributes.
constructor( attrs ) {
@@ -51,6 +51,7 @@ CKEDITOR.define( [
* nodeListB.length // 3
* @param {document.Node|document.Text|document.NodeList|String|Array} nodes List of nodes.
constructor( nodes ) {
if ( nodes instanceof NodeList ) {
CKEDITOR.define( [], function() {
class Operation {
constructor( baseVersion ) {
this.baseVersion = baseVersion;
@@ -18,6 +18,7 @@ CKEDITOR.define( [ 'utils', 'ckeditorerror' ], function( utils, CKEditorError )
* @param {Array} path Position path. See {@link #path} property for more information.
* @param {document.Element} root Root element for the path. Note that this element can not have a parent.
constructor( path, root ) {
@@ -25,6 +25,7 @@ CKEDITOR.define( [
* @param {document.Range} [boundaries] Range to define boundaries of the iterator.
* @param {document.Position} [iteratorPosition] Starting position.
constructor( boundaries, iteratorPosition ) {
if ( boundaries instanceof Position ) {
@@ -17,6 +17,7 @@ CKEDITOR.define( [ 'document/positioniterator' ], function( PositionIterator ) {
* @param {document.Position} start Start position.
* @param {document.Position} end End position.
constructor( start, end ) {
@@ -19,7 +19,7 @@ CKEDITOR.define( [
class RemoveOperation extends Operation {
constructor( position, nodes, baseVersion ) {
@@ -17,6 +17,7 @@ CKEDITOR.define( [], function() {
* Creates text with attributes.
* @param {String} text Described character.
constructor( text, attrs ) {