Explorar el Código

Added _addBlockQuoteAutoformats method documentation.

Szymon Kupś hace 8 años
padre
commit
5f4a207b1c
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      packages/ckeditor5-autoformat/src/autoformat.js

+ 7 - 0
packages/ckeditor5-autoformat/src/autoformat.js

@@ -157,6 +157,13 @@ export default class Autoformat extends Plugin {
 		}
 	}
 
+	/**
+	 * Adds autoformatting related to {@link module:block-quote/blockquote~BlockQuote}.
+	 * When typed:
+	 * * `> ` - a paragraph will be changed to a block quote.
+	 *
+	 * @private
+	 */
 	_addBlockQuoteAutoformats() {
 		if ( this.editor.commands.has( 'blockQuote' ) ) {
 			// eslint-disable-next-line no-new