浏览代码

Merge branch 'stable'

Piotrek Koszuliński 8 年之前
父节点
当前提交
c5b1e33c12
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-ui/src/toolbar/toolbarview.js

+ 1 - 1
packages/ckeditor5-ui/src/toolbar/toolbarview.js

@@ -174,7 +174,7 @@ export default class ToolbarView extends View {
 				 *
 				 * You can use the following snippet to retrieve all available toolbar items:
 				 *
-				 *		Array.from( editor.ui.componentFactory.names );
+				 *		Array.from( editor.ui.componentFactory.names() );
 				 *
 				 * @error toolbarview-item-unavailable
 				 * @param {String} name The name of the component.