Browse Source

Merge pull request #57 from ckeditor/i/3287

Tests: Align tests to the changes in styles normalization. See https://github.com/ckeditor/ckeditor5-engine/pull/1807.
Piotrek Koszuliński 5 years ago
parent
commit
605c3aad32

+ 1 - 1
packages/ckeditor5-font/src/fontbackgroundcolor.js

@@ -135,7 +135,7 @@ export default class FontBackgroundColor extends Plugin {
  *			]
  *		};
  *
- * *Note*: The colors are displayed in the `'fontBackgroundColor'` dropdown.
+ * **Note**: The colors are displayed in the `'fontBackgroundColor'` dropdown.
  *
  * @member {Array.<String|Object>} module:font/fontbackgroundcolor~FontBackgroundColorConfig#colors
  */

+ 1 - 1
packages/ckeditor5-font/src/fontcolor.js

@@ -134,7 +134,7 @@ export default class FontColor extends Plugin {
  *			]
  *		};
  *
- * *Note*: The colors are displayed in the `'fontColor'` dropdown.
+ * **Note**: The colors are displayed in the `'fontColor'` dropdown.
  *
  * @member {Array.<String|Object>} module:font/fontcolor~FontColorConfig#colors
  */

+ 1 - 1
packages/ckeditor5-font/tests/integration.js

@@ -47,7 +47,7 @@ describe( 'Integration test Font', () => {
 					'<p>' +
 						'<span ' +
 							'class="text-big" ' +
-							'style="font-family:Arial, Helvetica, sans-serif;background-color:rgb(10,20,30);color:#123456;"' +
+							'style="background-color:rgb(10,20,30);color:#123456;font-family:Arial, Helvetica, sans-serif;"' +
 						'>foo' +
 						'</span>' +
 					'</p>'