Sfoglia il codice sorgente

Add explanatory comments.

Maciej Gołaszewski 6 anni fa
parent
commit
22494b4796
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      packages/ckeditor5-heading/src/title.js

+ 1 - 0
packages/ckeditor5-heading/src/title.js

@@ -189,6 +189,7 @@ export default class Title extends Plugin {
 	_fixTitleContent( writer ) {
 		const title = this._getTitleElement();
 
+		// There's no title in the content - it will be created by _fixTitleElement post-fixer.
 		if ( !title ) {
 			return false;
 		}