소스 검색

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;