Explorar o código

Added comment.

Oskar Wróbel %!s(int64=6) %!d(string=hai) anos
pai
achega
536261473e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 ) {