Procházet zdrojové kódy

Add missing @protected annotation to insertUIElement function.

Maciej Gołaszewski před 7 roky
rodič
revize
f23c34874e

+ 1 - 0
packages/ckeditor5-engine/src/conversion/downcasthelpers.js

@@ -545,6 +545,7 @@ export function insertElement( elementCreator ) {
  *
  *
  * This converter binds created UI elements with the marker name using {@link module:engine/conversion/mapper~Mapper#bindElementToMarker}.
  * This converter binds created UI elements with the marker name using {@link module:engine/conversion/mapper~Mapper#bindElementToMarker}.
  *
  *
+ * @protected
  * @param {module:engine/view/uielement~UIElement|Function} elementCreator A view UI element or a function returning the view element
  * @param {module:engine/view/uielement~UIElement|Function} elementCreator A view UI element or a function returning the view element
  * that will be inserted.
  * that will be inserted.
  * @returns {Function} Insert element event converter.
  * @returns {Function} Insert element event converter.