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

Commit

Permalink
Docs: Improved two interfaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Mar 15, 2018
1 parent 3d99cf5 commit 1e018c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/editor/utils/dataapimixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const DataApiMixin = {
export default DataApiMixin;

/**
* Mixin provides methods for setting and getting data to/from editor main root element of the model tree
* using {@link module:core/editor/editor~Editor#data data pipeline}.
* Interface for setting and getting data to/from the editor's main root element
* using the {@link module:core/editor/editor~Editor#data data pipeline}.
*
* @interface DataApi
*/
Expand Down
5 changes: 4 additions & 1 deletion src/editor/utils/elementapimixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ const ElementApiMixin = {
export default ElementApiMixin;

/**
* Mixin provides method for setting and getting data from/to element on which editor has been initialized.
* Interface describing an editor which replaced a DOM element (was "initialized on an element").
*
* Such an editor should provide a method to
* {@link module:core/editor/utils/elementapimixin~ElementApi#updateElement update the replaced element with the current data}.
*
* @interface ElementApi
*/
Expand Down

0 comments on commit 1e018c0

Please sign in to comment.