@@ -381,7 +381,7 @@ describe( 'ImageEditing', () => {
381
381
setModelData ( model , '<image src="foo.png" alt="alt text"></image>' ) ;
382
382
383
383
expect ( getViewData ( view , { withoutSelection : true } ) ) . to . equal (
384
- '<figure class="ck-widget image" contenteditable="false"><img alt="alt text" src="foo.png"></img></figure>'
384
+ '<figure class="ck ck -widget image" contenteditable="false"><img alt="alt text" src="foo.png"></img></figure>'
385
385
) ;
386
386
} ) ;
387
387
@@ -402,7 +402,7 @@ describe( 'ImageEditing', () => {
402
402
} ) ;
403
403
404
404
expect ( getViewData ( view , { withoutSelection : true } ) ) . to . equal (
405
- '<figure class="ck-widget image" contenteditable="false"><img alt="new text" src="foo.png"></img></figure>'
405
+ '<figure class="ck ck -widget image" contenteditable="false"><img alt="new text" src="foo.png"></img></figure>'
406
406
) ;
407
407
} ) ;
408
408
@@ -415,7 +415,7 @@ describe( 'ImageEditing', () => {
415
415
} ) ;
416
416
417
417
expect ( getViewData ( view , { withoutSelection : true } ) )
418
- . to . equal ( '<figure class="ck-widget image" contenteditable="false"><img src="foo.png"></img></figure>' ) ;
418
+ . to . equal ( '<figure class="ck ck -widget image" contenteditable="false"><img src="foo.png"></img></figure>' ) ;
419
419
} ) ;
420
420
421
421
it ( 'should not convert change if is already consumed' , ( ) => {
@@ -431,7 +431,7 @@ describe( 'ImageEditing', () => {
431
431
} ) ;
432
432
433
433
expect ( getViewData ( view , { withoutSelection : true } ) ) . to . equal (
434
- '<figure class="ck-widget image" contenteditable="false"><img alt="alt text" src="foo.png"></img></figure>'
434
+ '<figure class="ck ck -widget image" contenteditable="false"><img alt="alt text" src="foo.png"></img></figure>'
435
435
) ;
436
436
} ) ;
437
437
@@ -444,7 +444,7 @@ describe( 'ImageEditing', () => {
444
444
'</image>' ) ;
445
445
446
446
expect ( getViewData ( view , { withoutSelection : true } ) ) . to . equal (
447
- '<figure class="ck-widget image" contenteditable="false">' +
447
+ '<figure class="ck ck -widget image" contenteditable="false">' +
448
448
'<img alt="alt text" sizes="100vw" src="foo.png" srcset="small.png 148w, big.png 1024w"></img>' +
449
449
'</figure>'
450
450
) ;
@@ -464,7 +464,7 @@ describe( 'ImageEditing', () => {
464
464
} ) ;
465
465
466
466
expect ( getViewData ( view , { withoutSelection : true } ) ) . to . equal (
467
- '<figure class="ck-widget image" contenteditable="false">' +
467
+ '<figure class="ck ck -widget image" contenteditable="false">' +
468
468
'<img alt="alt text" src="foo.png"></img>' +
469
469
'</figure>'
470
470
) ;
@@ -479,7 +479,7 @@ describe( 'ImageEditing', () => {
479
479
'</image>' ) ;
480
480
481
481
expect ( getViewData ( view , { withoutSelection : true } ) ) . to . equal (
482
- '<figure class="ck-widget image" contenteditable="false">' +
482
+ '<figure class="ck ck -widget image" contenteditable="false">' +
483
483
'<img alt="alt text" sizes="100vw" src="foo.png" srcset="small.png 148w, big.png 1024w" width="1024"></img>' +
484
484
'</figure>'
485
485
) ;
@@ -494,7 +494,7 @@ describe( 'ImageEditing', () => {
494
494
} ) ;
495
495
496
496
expect ( getViewData ( view , { withoutSelection : true } ) ) . to . equal (
497
- '<figure class="ck-widget image" contenteditable="false">' +
497
+ '<figure class="ck ck -widget image" contenteditable="false">' +
498
498
'<img src="foo.png"></img>' +
499
499
'</figure>'
500
500
) ;
@@ -514,7 +514,7 @@ describe( 'ImageEditing', () => {
514
514
} ) ;
515
515
516
516
expect ( getViewData ( view , { withoutSelection : true } ) ) . to . equal (
517
- '<figure class="ck-widget image" contenteditable="false">' +
517
+ '<figure class="ck ck -widget image" contenteditable="false">' +
518
518
'<img src="foo.png"></img>' +
519
519
'</figure>'
520
520
) ;
@@ -536,7 +536,7 @@ describe( 'ImageEditing', () => {
536
536
) ;
537
537
538
538
expect ( getViewData ( view , { withoutSelection : true } ) ) . to . equal (
539
- '<figure class="ck-widget image" contenteditable="false">' +
539
+ '<figure class="ck ck -widget image" contenteditable="false">' +
540
540
'<img alt="alt text" src="foo.png"></img>' +
541
541
'</figure>'
542
542
) ;
0 commit comments