瀏覽代碼

Code style: The dots are required at the end of the comment.

Maciej Gołaszewski 8 年之前
父節點
當前提交
927f9463a4

+ 1 - 1
packages/ckeditor5-font/src/fontfamily/utils.js

@@ -58,7 +58,7 @@ function generateFontPreset( fontDefinition ) {
 	// Remove quotes from font names. They will be normalized later.
 	const fontNames = fontDefinition.replace( /"|'/g, '' ).split( ',' );
 
-	// The first matched font name will be used as dropdown list item title and as model value
+	// The first matched font name will be used as dropdown list item title and as model value.
 	const firstFontName = fontNames[ 0 ];
 
 	// CSS-compatible font names.

+ 0 - 1
packages/ckeditor5-font/src/fontsize/fontsizeediting.js

@@ -39,7 +39,6 @@ export default class FontSizeEditing extends Plugin {
 			]
 		} );
 
-		// Get configuration
 		const data = editor.data;
 		const editing = editor.editing;