Skip to content

Commit 715d7c3

Browse files
committed
fix(docs): Change getEditorInterface doc
Make sure to mention that editor inface is only representing a published contentType
1 parent f23133a commit 715d7c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/entities/content-type.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ function createContentTypeApi (http) {
9393
}),
9494

9595
/**
96-
* get the editor interface for the object
96+
* Gets the editor interface for the object <br />
97+
* <strong>Important note</strong>: The editor interface only represent a published contentType.<br />
98+
* To get the most recent representation of the contentType make sure to publish it first
9799
* @memberof ContentType
98100
* @func getEditorInterface
99101
* @return {Promise<EditorInterface.EditorInterface>} Object returned from the server with the current editor interface.

0 commit comments

Comments
 (0)