mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Re-disable clipboard_handleImages
This commit is contained in:
parent
516fd738f2
commit
b817b85989
1 changed files with 4 additions and 1 deletions
|
|
@ -8,9 +8,12 @@ CKEDITOR.plugins.add('rx_upload', {
|
|||
init: function(editor) {
|
||||
|
||||
/**
|
||||
* Prevent the clipboard plugin from displaying the "file type not supported" error.
|
||||
* Prevent the clipboard plugin from interfering with us.
|
||||
*/
|
||||
editor.plugins.clipboard._supportedFileMatchers.unshift(function() { return true; });
|
||||
if (editor.config.clipboard_handleImages) {
|
||||
editor.config.clipboard_handleImages = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* The main event handler for paste and drop.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue