Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Docs: Fixed invalid links.
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarwrobel committed Jan 9, 2018
1 parent 201b0c8 commit 5e74fb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/controller/editingcontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ import mix from '@ckeditor/ckeditor5-utils/src/mix';
* including selection handling. It also creates {@link ~EditingController#view view document} which build a
* browser-independent virtualization over the DOM elements. Editing controller also attach default converters.
*
* Editing controller binds {@link model:engine/}
* Editing controller binds {@link module:engine/view/document~Document#roots view roots collection} to
* {@link module:engine/model/document~Document#roots model roots collection} so creating model root automatically
* creates corresponding view root.
*
* @mixes module:utils/observablemixin~ObservableMixin
*/
Expand Down
6 changes: 3 additions & 3 deletions src/view/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ export default class Document {
this.domConverter = new DomConverter();

/**
* Roots of the view tree. Map of the {module:engine/view/element~Element view elements} with roots names as keys.
* Roots of the view tree. Collection of the {module:engine/view/element~Element view elements}.
*
* View roots are created as a result of binding between {@link module:engine/view/document~Document#roots} and
* {@link module:engine/model/document~Document#roots} and this is handled by
* {@link modeule:engine/controller/editingcontroller~EditingController}, so to create view root we need to create
* {@link module:engine/controller/editingcontroller~EditingController}, so to create view root we need to create
* model root using {@link module:engine/model/document~Document#createRoot}.
*
* @readonly
* @member {Map} module:engine/view/document~Document#roots
* @member {Collection} module:engine/view/document~Document#roots
*/
this.roots = new Collection( { idProperty: 'rootName' } );

Expand Down

0 comments on commit 5e74fb1

Please sign in to comment.