소스 검색

Added docs to _attachToForm method in StandardEditor.

Szymon Kupś 8 년 전
부모
커밋
a055633ada
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      packages/ckeditor5-core/src/editor/standardeditor.js

+ 6 - 0
packages/ckeditor5-core/src/editor/standardeditor.js

@@ -106,6 +106,12 @@ export default class StandardEditor extends Editor {
 		this.setData( getDataFromElement( this.element ) );
 	}
 
+	/**
+	 * Checks if editor is initialized on textarea element that belongs to a form. If yes - updates editor's element
+	 * contents before submitting the form.
+	 *
+	 * @private
+	 */
 	_attachToForm() {
 		const element = this.element;