8
0
Просмотр исходного кода

Docs: Added some minor comment.

Aleksander Nowodzinski 6 лет назад
Родитель
Сommit
46eed073ec
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      packages/ckeditor5-code-block/src/utils.js

+ 1 - 0
packages/ckeditor5-code-block/src/utils.js

@@ -78,6 +78,7 @@ export function getPropertyAssociation( languageDefs, key, value ) {
 
 	for ( const def of languageDefs ) {
 		if ( key === 'class' ) {
+			// Only the first class is considered.
 			association[ def[ key ].split( ' ' ).shift() ] = def[ value ];
 		} else {
 			association[ def[ key ] ] = def[ value ];