smashingboxes / cardboard-admin-archive

Rails 4 CMS
http://smashingboxes.com
Other
66 stars 13 forks source link

Images in wysiwyg rich editor? #6

Open elfassy opened 11 years ago

elfassy commented 11 years ago

In some cases (i'm looking at you blog post) it makes sense to let the use add images in a rich text editor. I think we should implement something like what refinery has:

screen shot 2013-05-04 at 1 55 53 pm screen shot 2013-05-04 at 1 55 37 pm

leonelgalan commented 11 years ago

I guess this is heavily dependent on the wysiwyg editor we are using. Which wysiwyg do we use?

elfassy commented 11 years ago

we're using wysihtml5 which will allow anything we want (as long as we give it the resulting src) (actually we're using bootstrap-wysihtml5)

see demo: http://xing.github.io/wysihtml5/examples/advanced.html

elfassy commented 11 years ago

upload via dropzone is possible via http://www.dropzonejs.com/

elfassy commented 11 years ago

I would also add the option to float left or right.

Ultimately resizing/deleting an image in place would also be nice (something like http://ghosted.it/demo) another example: http://www.editorboost.net/Webkitresize/Demos