ソースを参照

Docs: model document root name is always string now.

Piotr Jasiun 9 年 前
コミット
02e48fd1ff
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/ckeditor5-engine/src/model/document.js

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

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