8
0
Oskar Wrobel 9 лет назад
Родитель
Сommit
a1df09d134
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-engine/src/model/document.js

+ 1 - 1
packages/ckeditor5-engine/src/model/document.js

@@ -181,8 +181,8 @@ export default class Document {
 	/**
 	 * Creates a new top-level root.
 	 *
-	 * @param {String} [rootName='main'] Unique root name.
 	 * @param {String} [elementName='$root'] Element name. Defaults to `'$root'` which also have
+	 * @param {String} [rootName='main'] Unique root name.
 	 * some basic schema defined (`$block`s are allowed inside the `$root`). Make sure to define a proper
 	 * schema if you use a different name.
 	 * @returns {engine.model.RootElement} Created root.