소스 검색

Docs: Added missing docs in the WidgetTypeAround#_insertParagraphAccordingToSelectionAttribute method.

Aleksander Nowodzinski 5 년 전
부모
커밋
abda6ea08c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      packages/ckeditor5-widget/src/widgettypearound/widgettypearound.js

+ 1 - 0
packages/ckeditor5-widget/src/widgettypearound/widgettypearound.js

@@ -112,6 +112,7 @@ export default class WidgetTypeAround extends Plugin {
 	 * using the keyboard).
 	 *
 	 * @private
+	 * @returns {Boolean} Returns `true` when the paragraph was inserted (the attribute was present) and `false` otherwise.
 	 */
 	_insertParagraphAccordingToSelectionAttribute() {
 		const editor = this.editor;