Skip to content

Commit

Permalink
Exclude iOS from isCustomCopyCutSupported.
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Jasiun committed Apr 16, 2015
1 parent 1cd4f1c commit 13c4604
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/clipboard/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1483,13 +1483,14 @@
CKEDITOR.plugins.clipboard = {
/**
* True if the environment allows to set data on copy or cut manually. This value is false on IE, because it shows
* security dialog when the script try to set clipboard data.
* security dialog when the script try to set clipboard data and on iOS, because custom data are not saved to the
* clipboard there.
*
* @since 4.5
* @readonly
* @property {Boolean}
*/
isCustomCopyCutSupported: !CKEDITOR.env.ie,
isCustomCopyCutSupported: !CKEDITOR.env.ie && !CKEDITOR.env.iOS,

/**
* True if the environment supports MIME types and custom data types in dataTransfer/cliboardData getData/setData methods.
Expand Down

0 comments on commit 13c4604

Please sign in to comment.