Преглед изворни кода

Update packages/ckeditor5-widget/src/widgettypearound/widgettypearound.js

Co-authored-by: Kuba Niegowski <1232187+niegowski@users.noreply.github.com>
Aleksander Nowodzinski пре 5 година
родитељ
комит
627545289e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-widget/src/widgettypearound/widgettypearound.js

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

@@ -72,7 +72,7 @@ export default class WidgetTypeAround extends Plugin {
 	 *
 	 * @private
 	 * @param {module:engine/view/element~Element} widgetViewElement The view widget element next to which a paragraph is inserted.
-	 * @param {String} position The position where the paragraph is inserted. Either `'before'` or `'after'` the widget.
+	 * @param {'before'|'after'} position The position where the paragraph is inserted. Either `'before'` or `'after'` the widget.
 	 */
 	_insertParagraph( widgetViewElement, position ) {
 		const editor = this.editor;