taqueci / redmine_wysiwyg_editor

Redmine WYSIWYG Editor plugin
GNU General Public License v2.0
115 stars 27 forks source link

Pasting image does not work in "Document" #67

Closed SilverBut closed 4 years ago

SilverBut commented 4 years ago

Can be easily reproduced by create a documenation, switch to visual editor, and press Ctrl+V.

Here is the error log in console:


edit:121 Uncaught ReferenceError: uploadAndAttachFiles is not defined
    at RedmineWysiwygEditor.uploader [as _attachmentUploader] (edit:121)
    at RedmineWysiwygEditor._pasteImage (redmine_wysiwyg_editor.js?1568924623:473)
    at RedmineWysiwygEditor._pasteEventHandler (redmine_wysiwyg_editor.js?1568924623:426)
    at zx.<anonymous> (redmine_wysiwyg_editor.js?1568924623:236)
    at Vg.c.fire (tinymce.min.js?1568924623:2)
    at zx.fire (tinymce.min.js?1568924623:2)
    at np (tinymce.min.js?1568924623:2)
    at Object.t (tinymce.min.js?1568924623:2)
    at C (tinymce.min.js?1568924623:2)
    at HTMLBodyElement.d (tinymce.min.js?1568924623:2)
```
SilverBut commented 4 years ago

Oh seems 0.8.0 is updated yesterday. I would update my local server and then came back. If it works, I will just close this issue.

taqueci commented 4 years ago

Hi @SilverBut

I close this issue. If the issue is not solved, please reopen and tell me more detail.