소스 검색

Docs: More API docs polish. [skip ci]

Piotrek Koszuliński 7 년 전
부모
커밋
9a5b735b65
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/ckeditor5-editor-inline/src/inlineeditor.js
  2. 2 0
      packages/ckeditor5-editor-inline/src/inlineeditoruiview.js

+ 1 - 1
packages/ckeditor5-editor-inline/src/inlineeditor.js

@@ -162,7 +162,7 @@ export default class InlineEditor extends Editor {
 	 * (on which the editor will be initialized) or initial data for the editor.
 	 * (on which the editor will be initialized) or initial data for the editor.
 	 *
 	 *
 	 * If a source element is passed, then its contents will be automatically
 	 * If a source element is passed, then its contents will be automatically
-	 * {@link module:editor-classic/inlineeditor~InlineEditor#setData loaded} to the editor on startup and the element
+	 * {@link module:editor-inline/inlineeditor~InlineEditor#setData loaded} to the editor on startup and the element
 	 * itself will be used as the editor's editable element.
 	 * itself will be used as the editor's editable element.
 	 *
 	 *
 	 * If a data is provided, then `editor.element` will be created automatically and needs to be added
 	 * If a data is provided, then `editor.element` will be created automatically and needs to be added

+ 2 - 0
packages/ckeditor5-editor-inline/src/inlineeditoruiview.js

@@ -22,6 +22,8 @@ export default class InlineEditorUIView extends EditorUIView {
 	 * Creates an instance of the inline editor UI view.
 	 * Creates an instance of the inline editor UI view.
 	 *
 	 *
 	 * @param {module:utils/locale~Locale} locale The {@link module:core/editor/editor~Editor#locale} instance.
 	 * @param {module:utils/locale~Locale} locale The {@link module:core/editor/editor~Editor#locale} instance.
+	 * @param {HTMLElement} [editableElement] The editable element. If not specified, it will be automatically created by
+	 * {@link module:ui/editableui/editableuiview~EditableUIView}. Otherwise, the given element will be used.
 	 */
 	 */
 	constructor( locale, editableElement ) {
 	constructor( locale, editableElement ) {
 		super( locale );
 		super( locale );