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 #344 from cksource/t/16968
Paste as plain text doesn't work in Safari.
- Loading branch information
Showing
3 changed files
with
30 additions
and
2 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
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,15 @@ | ||
<h2>Helpers</h2> | ||
<p><b>Some</b> <i>rich</i> <s>text</s> <sup>with</sup> <a href="http://cksource.com">link</a></p> | ||
<h2>Editor</h2> | ||
<textarea name="editor1" id="editor1" cols="30" rows="10"> | ||
<p>Paste the content here:</p> | ||
<h2>And here:</h2> | ||
</textarea> | ||
|
||
<script> | ||
if ( !CKEDITOR.env.safari ) { | ||
bender.ignore(); | ||
} | ||
|
||
CKEDITOR.replace( 'editor1' ); | ||
</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,11 @@ | ||
@bender-tags: tc, 4.7.0, 16968, pastetext | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: wysiwygarea, toolbar, undo, pastetext, sourcearea, elementspath, basicstyles, format, link | ||
|
||
1. Copy some rich text / html. | ||
1. Focus editor and click on the `Paste as plain text` button. | ||
1. Paste using the shortcut shown in the notification in previous step. | ||
|
||
**Expected:** Content is pasted as plain text. | ||
|
||
**Unexpected:** Nothing is pasted. |