Преглед изворни кода

Docs: Added some minor comment.

Aleksander Nowodzinski пре 6 година
родитељ
комит
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 ];