Преглед на файлове

Docs: Update `Heading#value` documentation.

Maciej Gołaszewski преди 7 години
родител
ревизия
c592330151
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      packages/ckeditor5-heading/src/headingcommand.js

+ 3 - 2
packages/ckeditor5-heading/src/headingcommand.js

@@ -26,11 +26,12 @@ export default class HeadingCommand extends Command {
 		super( editor );
 
 		/**
-		 * Whether the selection starts in a heading of {@link #modelElements this level}.
+		 * If the selection starts in a one of headings of {@link #modelElements} the value gets name of heading model element.
+		 * Is set to false otherwise.
 		 *
 		 * @observable
 		 * @readonly
-		 * @member {Boolean} #value
+		 * @member {Boolean|String} #value
 		 */
 
 		/**