Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draggable images and snippets for full region #321

Open
peleteiro opened this issue Jan 19, 2013 · 6 comments
Open

Draggable images and snippets for full region #321

peleteiro opened this issue Jan 19, 2013 · 6 comments
Labels

Comments

@peleteiro
Copy link

peleteiro commented Jan 19, 2013

It's a feature request.

I would like to make snippets and images draggable in contentEdit. That I can move my image into the document.

Is that already possible? How would I implement this on Mercury?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/371849-draggable-images-and-snippets-for-full-region?utm_campaign=plugin&utm_content=tracker%2F134071&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F134071&utm_medium=issues&utm_source=github).
@rhomeister
Copy link

+1. Would be very desirable functionality for me as well.

@gvarela
Copy link
Collaborator

gvarela commented Jan 21, 2013

This is not a trivial feature to implement. The reason snippets are draggable in a snippets region is because we wrap it with Jquery Sortable. In a full region it requires some heavy handed manipulation of the DOM and contentEditable selections.

@corklaassebos
Copy link

+1. In addition, some basic image manipulation (resize, crop) would make this editor close to perfect.

@peleteiro
Copy link
Author

https://dev.ckeditor.com/ticket/9764 CKEditor is getting drag-and-drop support as well. (Along with snippet/block/widget)

@jejacks0n
Copy link
Owner

I'll be doing this with the version I'm working on now.. check the developer notice in the readme. It should be easier to accomplish now, but we'll have to see. The new version is getting a lot of polish (currently on the markdown region), but this will flow over into the full region as well.

One of the cooler things in the new version is the concept of regions being views (in a sort of mvvm/mvc way of describing views).. which means you can create your own region that can be anything from a slide show that allows drag/drop uploading of images + image management to a full backbone application. Common aspects of regions are being put into modules that can be included into your own region -- for instance a drop indicator/file uploading (that's not limited to just images.)

Anyway, I'm having a lot of fun with it, and I think it will allow creating your own complex regions easier. =)

I don't try to compete with some of the big boys like ckeditor, but I do try to stir up the waters in terms of features.. those projects have many developers and probably some level of funding from various companies -- and I don't.

@Fyr
Copy link

Fyr commented Jun 13, 2013

+1 Yeah! Draggable snippets in "full" regions is very desirable featured for us. We're using your editor for our publishing system. We do like it, but some bugs and such lacks makes us not fully satisfied with Mercury

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants