-
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.
Merge pull request #890 from ckeditor/t/869
Fixing bug which cleared clipboard when collapsed selection was copied
- Loading branch information
Showing
5 changed files
with
55 additions
and
1 deletion.
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
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
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
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,6 @@ | ||
<textarea name="editor" id="editor" cols="30" rows="10"> | ||
<p>Hello world</p> | ||
</textarea> | ||
<script> | ||
CKEDITOR.replace( 'editor' ); | ||
</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,16 @@ | ||
@bender-ui: collapsed | ||
@bender-tags: 4.9.0, bug, 869 | ||
@bender-ckeditor-plugins: wysiwygarea, toolbar, clipboard | ||
|
||
---- | ||
|
||
1. Select some text in editor. | ||
1. Copy text with shortcut `Ctrl/Cmd + C`. | ||
1. Paste text in editor. | ||
1. Now make collapsed selection. | ||
1. Copy this collapsed selection with shortcut `Ctrl/Cmd + C`. | ||
1. Paste text in editor. | ||
|
||
**Expected:** Previously selected text is paste in editor. | ||
|
||
**Unexpected:** There is nothing pasted in editor. |