|
|
@@ -36,6 +36,12 @@ describe( 'FontBackgroundColorEditing', () => {
|
|
|
expect( editor.model.schema.checkAttribute( [ '$block' ], 'fontBackgroundColor' ) ).to.be.false;
|
|
|
} );
|
|
|
|
|
|
+ it( 'its attribute is marked with a formatting property', () => {
|
|
|
+ expect( editor.model.schema.getAttributeProperties( 'fontBackgroundColor' ) ).to.deep.equal( {
|
|
|
+ isFormatting: true
|
|
|
+ } );
|
|
|
+ } );
|
|
|
+
|
|
|
describe( 'config', () => {
|
|
|
describe( 'default value', () => {
|
|
|
it( 'should be set', () => {
|