|
|
@@ -179,7 +179,7 @@ describe( 'Clipboard feature', () => {
|
|
|
expect( stringifyModel( spy.args[ 0 ][ 0 ] ) ).to.equal( '<paragraph>x</paragraph>' );
|
|
|
} );
|
|
|
|
|
|
- it( 'do not insert content when editor is read-only', () => {
|
|
|
+ it( 'does not insert content when editor is read-only', () => {
|
|
|
const dataTransferMock = createDataTransfer( { 'text/html': '<p>x</p>', 'text/plain': 'y' } );
|
|
|
const spy = sinon.stub( editor.data, 'insertContent' );
|
|
|
|
|
|
@@ -193,7 +193,7 @@ describe( 'Clipboard feature', () => {
|
|
|
sinon.assert.notCalled( spy );
|
|
|
} );
|
|
|
|
|
|
- it( 'do not insert content if whole content was invalid', () => {
|
|
|
+ it( 'does not insert content if the whole content was invalid', () => {
|
|
|
// Whole content is invalid. Even though there is "view" content, the "model" content would be empty.
|
|
|
// Do not insert content in this case.
|
|
|
const dataTransferMock = createDataTransfer( { 'text/html': '<unknownTag></unknownTag>', 'text/plain': '' } );
|