瀏覽代碼

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;
 		}