Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge branch t/ckeditor5-watchdog/1
Browse files Browse the repository at this point in the history
Internal: Add context to CKEditorError exceptions. Required by ckeditor/ckeditor5-watchdog#2.
  • Loading branch information
Piotr Jasiun committed Jul 2, 2019
2 parents a4ebb58 + a2e8dee commit f2c9ec8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/classiceditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ export default class ClassicEditor extends Editor {
// Documented in core/editor/editorconfig.jdoc.
throw new CKEditorError(
'editor-create-initial-data: ' +
'The config.initialData option cannot be used together with initial data passed in Editor.create().'
'The config.initialData option cannot be used together with initial data passed in Editor.create().',
null
);
}

Expand Down
4 changes: 2 additions & 2 deletions tests/classiceditorui.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import ClassicEditorUIView from '../src/classiceditoruiview';

import { keyCodes } from '@ckeditor/ckeditor5-utils/src/keyboard';
import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
import utils from '@ckeditor/ckeditor5-utils/tests/_utils/utils';
import { assertBinding } from '@ckeditor/ckeditor5-utils/tests/_utils/utils';
import { isElement } from 'lodash-es';

describe( 'ClassicEditorUI', () => {
Expand Down Expand Up @@ -93,7 +93,7 @@ describe( 'ClassicEditorUI', () => {
} );

it( 'binds view.editable#isFocused', () => {
utils.assertBinding(
assertBinding(
view.editable,
{ isFocused: false },
[
Expand Down

0 comments on commit f2c9ec8

Please sign in to comment.