Browse Source

Aligned to changes in engine.

Kamil Piechaczek 7 years ago
parent
commit
3ef21893a7

+ 1 - 1
packages/ckeditor5-heading/tests/headingediting.js

@@ -85,7 +85,7 @@ describe( 'HeadingEditing', () => {
 								model: 'heading1',
 								view: 'h1',
 								upcastAlso: [
-									{ name: 'p', attribute: { 'data-heading': 'h1' } }
+									{ name: 'p', attributes: { 'data-heading': 'h1' } }
 								],
 								title: 'User H1',
 								priority: 'high'

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

@@ -128,7 +128,7 @@ describe( 'Heading integration', () => {
 								model: 'headingFancy',
 								view: {
 									name: 'h2',
-									class: 'fancy'
+									classes: 'fancy'
 								},
 								title: 'Heading 2 (fancy)',
 								class: 'ck-heading_heading2_fancy',