Sfoglia il codice sorgente

Merge stable into master

CKEditor Bot 5 anni fa
parent
commit
503c623b39
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/ckeditor5-ui/src/dropdown/utils.js

+ 1 - 1
packages/ckeditor5-ui/src/dropdown/utils.js

@@ -110,7 +110,7 @@ export function createDropdown( locale, ButtonClass = DropdownButtonView ) {
  *
  *		// Either create a new ButtonView instance or create existing.
  *		buttons.push( new ButtonView() );
- *		buttons.push( editor.ui.componentFactory.get( 'someButton' ) );
+ *		buttons.push( editor.ui.componentFactory.create( 'someButton' ) );
  *
  *		const dropdown = createDropdown( locale );
  *