Browse Source

Add explanatory comments.

Maciej Gołaszewski 6 years ago
parent
commit
22494b4796
1 changed files with 1 additions and 0 deletions
  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;
 		}