Skip to content

Commit

Permalink
Removed duplicated error doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
niegowski committed Jan 31, 2021
1 parent 74d1d15 commit e2cece4
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/ckeditor5-engine/src/model/utils/insertcontent.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,7 @@ class Insertion {
if ( this.position.parent != node || !this.position.isAtEnd ) {
// Algorithm's correctness check. We should never end up here but it's good to know that we did.
// At this point the insertion position should be at the end of the last auto paragraph.
/**
* An internal error occurred when merging inserted content with its siblings.
* The insertion position should equal the merge position.
*
* If you encountered this error, report it back to the CKEditor 5 team
* with as many details as possible regarding the content being inserted and the insertion position.
*
* @error insertcontent-invalid-insertion-position
*/
// Note: This error is documented in other place in this file.
throw new CKEditorError( 'insertcontent-invalid-insertion-position', this );
}

Expand Down

0 comments on commit e2cece4

Please sign in to comment.