Przeglądaj źródła

Docs: Fixed incorrect example in the error message.

Piotr Jasiun 6 lat temu
rodzic
commit
f54f669dff

+ 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.
 			 *