-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: add manual test (widget - keystroke).
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div id="editor"> | ||
Hello world. | ||
</div> | ||
|
||
<script> | ||
CKEDITOR.replace( 'editor', { | ||
keystrokes: [ | ||
[ CKEDITOR.CTRL + 13 /*Enter*/, 'source' ] | ||
] | ||
} ); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@bender-tags: widget, bug, 4.14.1, 3998 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: toolbar, wysiwygarea, sourcearea, widget | ||
|
||
1. Open console in dev tools. | ||
|
||
1. Place cursor inside editor. | ||
|
||
1. Press <kbd>CTRL</kbd> and <kbd>Enter</kbd> key. | ||
|
||
### Expected | ||
|
||
Source mode is opened and no error appears in dev console. | ||
|
||
### Unexpected | ||
|
||
Error appears in dev console or source mode editor is not opened. | ||
|
||
1. Place cursor inside editor. | ||
|
||
1. Press <kbd>CTRL</kbd> and <kbd>Enter</kbd> key. | ||
|
||
### Expected | ||
|
||
Editor switches to WYSIWYG mode. No error appears in dev console. | ||
|
||
### Unexpected | ||
|
||
Error appears in dev console or WYSIWYG area is not opened. |