Skip to content

Commit

Permalink
Activate custom copy/cut for new iOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Samsel authored and f1ames committed Sep 24, 2019
1 parent adcefdd commit b4b3275
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion plugins/clipboard/plugin.js
Expand Up @@ -1641,7 +1641,18 @@
* @readonly
* @property {Boolean}
*/
isCustomCopyCutSupported: ( !CKEDITOR.env.ie || CKEDITOR.env.version >= 16 ) && !CKEDITOR.env.iOS,
isCustomCopyCutSupported: ( function() {
if ( CKEDITOR.env.ie && CKEDITOR.env.version < 16 ) {
return false;
}

// There might be lower version supported as well. However, we don't have possibility to test it. (#3354)
if ( CKEDITOR.env.iOS && CKEDITOR.env.version < 605 ) {
return false;
}

return true;
} )(),

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

0 comments on commit b4b3275

Please sign in to comment.