|
|
@@ -37,11 +37,17 @@ describe( 'FontBackgroundColorEditing', () => {
|
|
|
} );
|
|
|
|
|
|
it( 'has the attribute marked with the isFormatting property', () => {
|
|
|
- expect( editor.model.schema.getAttributeProperties( 'fontBackgroundColor' ) ).to.deep.equal( {
|
|
|
+ expect( editor.model.schema.getAttributeProperties( 'fontBackgroundColor' ) ).to.include( {
|
|
|
isFormatting: true
|
|
|
} );
|
|
|
} );
|
|
|
|
|
|
+ it( 'its attribute is marked with a copOnEnter property', () => {
|
|
|
+ expect( editor.model.schema.getAttributeProperties( 'fontBackgroundColor' ) ).to.include( {
|
|
|
+ copyOnEnter: true
|
|
|
+ } );
|
|
|
+ } );
|
|
|
+
|
|
|
describe( 'config', () => {
|
|
|
describe( 'default value', () => {
|
|
|
it( 'should be set', () => {
|