浏览代码

Added comment.

Oskar Wróbel 6 年之前
父节点
当前提交
536261473e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/ckeditor5-heading/src/title.js

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

@@ -196,6 +196,7 @@ export default class Title extends Plugin {
 		const titleChildren = Array.from( title.getChildren() );
 		let hasChanged = false;
 
+		// Skip first child because it is an allowed element.
 		titleChildren.shift();
 
 		for ( const titleChild of titleChildren ) {