Take the 2-minute tour ×
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It's 100% free, no registration required.

On Redactor's website, they provide a demo with an image that you can click on and drag around the editor to relocate it among the text.

Video example from Redactor's website

Trying this same functionality in the rich text editor in the Craft control panel doesn't work though. I even copied the demo HTML from Redactor's website and pasted it into Craft, without any luck.

Video example from Craft control panel

Has anybody been able to get this working or have any idea why this functionality would be missing in Craft?

share|improve this question

closed as off-topic by Brandon Kelly, Stuart Whitehead, Marion Newlevant, nicael, Lindsey D Jul 28 at 2:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Bug reports in Craft CMS or in a plugin are off-topic as they are unlikely to help others and can't easily be found by those who can fix them. Instead, submit bug reports directly to the vendor of the product being used. See: How do I submit a bug/issue with Craft?" – Brandon Kelly, Stuart Whitehead, Marion Newlevant, nicael, Lindsey D
If this question can be reworded to fit the rules in the help center, please edit the question.

    
It works for me, are there any javascript errors that show up for you when you load the page or try and move the image around? –  Jason D Jul 24 at 21:14
    
Since this is a bug and will be fixed in an upcoming version of Craft (per Brandon's comment below), this thread will be closed as a bug report (aka "off-topic"). –  Lindsey D Jul 28 at 2:54

2 Answers 2

up vote 5 down vote accepted

Just looked into this and it’s a Craft bug. If you add an image manually using the “Insert URL” option, the image can be dragged around, but not if you use the “Choose image” option, which opens Craft’s image selection modal.

Saving the entry and coming back to it (or just typing Command + S) will also make the image draggable, regardless of how you added it.

We’ll get this fixed.

share|improve this answer

More than likely (this would have to be confirmed by Pixel & Tonic), they didn't include the server-side scripting for handling that. Uploads in Craft are handled using Assets, which treats files as a whole lot more than just files. Allowing files to be dropped in would possibly be difficult with the kinds of options users have for handling files.

What you can do is click the image icon and select "Choose Image", you will get a modal pop up that does allow you to drag and drop in images. Afterwards, you'll be able to drag it around for placement. It's not exactly what you're looking for, but it's an option.

share|improve this answer
    
Thanks for the response. I'm actually not looking to do any server side uploading of images, just moving existing images around inside of the editor. This should be fully controlled client side, but isn’t working in Craft. I updated my question with some example videos to make it clearer. –  Dan Collins Jul 24 at 20:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.