Ver código fonte

Docs: Update `Heading#value` documentation.

Maciej Gołaszewski 7 anos atrás
pai
commit
c592330151
1 arquivos alterados com 3 adições e 2 exclusões
  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
 		 */
 
 		/**