medium-editor-insert-plugin icon indicating copy to clipboard operation
medium-editor-insert-plugin copied to clipboard

Can't move images easily

Open nickground opened this issue 9 years ago • 1 comments

Hi, even though the bug has been fixed. There is no error but the images can't be moved (dragged to a new line) easily. Sometimes it works, sometimes it doesn't work. :)

If you can enhance the dragging image functionality or make it like this http://getcontenttools.com/demo, that would be awesome.

Keep up your hard work. Many thanks.

nickground avatar Nov 23 '15 20:11 nickground

Right now, image sorting is very basic and is meant to be customized. You can use your own solution, just use sorting option: https://github.com/orthes/medium-editor-insert-plugin/blob/master/src/js/images.js#L55

As for now, sorting function simply initializes https://github.com/johnny/jquery-sortable

For the future, I'm planning completely rewrite the plugin to ES2015 and use as little dependencies as possible. We will see. I'll have better image sorting on my list.

linkesch avatar Nov 25 '15 07:11 linkesch