浏览代码

Docs: Fixed incorrect example in the error message.

Piotr Jasiun 6 年之前
父节点
当前提交
f54f669dff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-engine/src/controller/datacontroller.js

+ 1 - 1
packages/ckeditor5-engine/src/controller/datacontroller.js

@@ -136,7 +136,7 @@ export default class DataController {
 			 * is called with non-existent root name. For example, if there is an editor instance with only `main` root,
 			 * calling {@link #get} like:
 			 *
-			 *		data.get( 'root2' );
+			 *		data.get( { rootName: 'root2' } );
 			 *
 			 * will throw this error.
 			 *