|
|
@@ -581,7 +581,10 @@ export default class Writer {
|
|
|
*
|
|
|
* @param {module:engine/model/position~Position} position Position of split.
|
|
|
* @param {module:engine/model/node~Node} [limitElement] Stop splitting when this element will be reached.
|
|
|
- * @returns {~SplitResult}
|
|
|
+ * @returns {Object} result Split result.
|
|
|
+ * @returns {module:engine/model/position~Position} result.position between split elements.
|
|
|
+ * @returns {module:engine/model/range~Range} result.range Range that stars from the end of the first split element and ands
|
|
|
+ * at the beginning of the first copy element.
|
|
|
*/
|
|
|
split( position, limitElement ) {
|
|
|
this._assertWriterUsedCorrectly();
|
|
|
@@ -1174,10 +1177,3 @@ function isSameTree( rootA, rootB ) {
|
|
|
|
|
|
return false;
|
|
|
}
|
|
|
-
|
|
|
-/**
|
|
|
- * @typedef {Object} SplitResult
|
|
|
- * @property {module:engine/model/position~Position} position between split elements.
|
|
|
- * @property {module:engine/model/range~Range} range Range that stars from the end of the first split element and ands
|
|
|
- * at the beginning of the first copy element.
|
|
|
- */
|