question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to upload images, tinymce not rendering

See original GitHub issue

There appears to be a change since 0.3.1 that is stopping tinymce working when images are enabled

tinymce is trying to load /keystone/js/lib/tinymce/plugins/uploadimage/plugin.min.js which doesn’t exist in the structure (404), it looks like it can be found in /keystone/js/lib/tinymce/plugins/image/plugin.min.js

Checking through the file the HtmlField type refers to uploadimage but looks like it should be “image”

I manually changed it locally to test if it would fix but even after changing the upload dialog only shows a source field without any upload functionality

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
ehochcommented, Jan 8, 2017

@JedWatson Looks like this issue is back with 4.0.0. Can we add this TinyMCE plugin back to master or is there another preferred way to do image uploading in the new version?

0reactions
svpecommented, Apr 24, 2017

@ehoch

I added the uploadimage plugin to my fork of keystone. https://github.com/svpe/keystone

I’ve sent a pull request. Depending on if the plugin was deliberately left out in this version or not @JedWatson will pull it. However in my use case everything seems to work just fine now.

https://github.com/keystonejs/keystone/pull/4232

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed image upload still showing in editor #5205 - GitHub
Hello @lnewson the problem is it wont work if the server refused the uploaded image too, the image will still appear in the...
Read more >
Handling image uploads | TinyMCE Documentation
Local images are uploaded to TinyMCE using the editor.uploadImages() function. This functionality makes it possible for users to save their content before ...
Read more >
Unable to drop image into TinyMCE - Stack Overflow
I am unable to drag an image into TinyMCE 5.7.0, it just makes an error "Dropped file type is not supported". Dragging and...
Read more >
Unable to upload image in tinymce editor in MVC - CodeProject
the problem is that the image is getting saved in the folder but is not shown in the editor. thanks for your help...
Read more >
TinyMCE: some images not showing in image browser popup
Yes, you can also install a MODX Evo in localhost, check if TinyMCE works fine and then upload it in your server. Remember...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found