Răsfoiți Sursa

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

Co-authored-by: Kuba Niegowski <1232187+niegowski@users.noreply.github.com>
Aleksander Nowodzinski 5 ani în urmă
părinte
comite
627545289e

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