Sfoglia il codice sorgente

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

Aleksander Nowodzinski 5 anni fa
parent
commit
abda6ea08c

+ 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;