|
|
@@ -473,6 +473,10 @@ describe( 'LinkEditing', () => {
|
|
|
);
|
|
|
|
|
|
expect( model.document.selection ).to.have.attribute( 'linkHref' );
|
|
|
+ expect( getViewData( view ) ).to.equal(
|
|
|
+ '<p>foo <a href="url">li</a></p>' +
|
|
|
+ '<p><a class="ck-link_selected" href="url">{}nk</a> baz</p>'
|
|
|
+ );
|
|
|
} );
|
|
|
|
|
|
it( 'should remove classes when selection is moved out from the link', () => {
|