Explorar o código

Docs: Fixed incorrect example in the error message.

Piotr Jasiun %!s(int64=6) %!d(string=hai) anos
pai
achega
f54f669dff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.
 			 *