ソースを参照

Add explanatory comments.

Maciej Gołaszewski 6 年 前
コミット
22494b4796
1 ファイル変更1 行追加0 行削除
  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;
 		}