Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drag and Drop Images
#1
Evening...

I've been looking for a replacement for Nucleus CMS for some time and I came across this and it looked perfect.

Question tho
In the GetSimple demo site I was able to drag and drop images into the page editor

Is there something I need to activate to make that happen on a clean install?
I did install the tinyMCE editor and it worked but I think I'd like to use the default editor

Thanks
John
Reply
#2
I have no idea how you could do that since there is no support for it, unless your browser is doing it somehow.

It looks like browser to browser drag and drop is implemented by your browser, for example chrome embeds the image into the content. File system drag and drop will be available in 3.4.

Drag and drop / upload directly in the editor would be a cool feature.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
It looks like the ckeditor supports this though

http://docs.ckeditor.com/#!/guide/dev_drop_paste

http://sdk.ckeditor.com/samples/fileuplo...ted-images

We can integrate it fairly easily, now that we are on the latest cke.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#4
https://github.com/GetSimpleCMS/GetSimpl...ssues/1192
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
what's odd then is that is works on the demo available here in firefox but not in my test install:
http://www.opensourcecms.com/demo/2/269/GetSimple+CMS

I have to say tho that so far I am loving this as a replacement
Reply
#6
it could be a cross domain restriction in your test
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#7
I wouldn't even know how to start tracing that down...

TinyMCE seems to have that feature enabled on my test site
Reply
#8
I've been picking at this for a couple days now and I can't find where the allow is

I've spent a fair amount of time comparing what I see on the opensourcecms demo page vs what I see on my test site and there's isn't a lot of difference, except for some jquery scripts (opensourcecms is using older versions)

I've eliminated any server or domain restrictions by switching to the tinymce editor where drag and drop is working in firefox

Any direction would be appreciated
The first site I'm setting up is for a not-for-profit disabled swim team and I want this to be as user friendly as I can make it for them to use

I did attempt to add uploadimage to the extra plugin settings but there is a better than average chance that I didn't do it right.. still playing with it


Code:
    config.extraPlugins = 'uploadwidget';
 config.extraPlugins = 'uploadimage';
 config.uploadUrl = '/uploader/upload.php';
Reply
#9
i have this working, i will post a solution soon, the problem is we use a much different approach to uploading, so there needs to be some customization or a plugin to alter core.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#10
Here is the js code for ckeditor GS upload handlers

https://gist.github.com/tablatronix/faea...5f1e02f82d

you can drop this in your config.js

note that the file upload plugin requires the upload widget which also requires 4 other plugins also, so you should probably use the builder to auto add the dependancies when adding this, or make sure to add all the plugins.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#11
(2016-10-03, 02:46:39)shawn_a Wrote: Here is the js code for ckeditor GS upload handlers

https://gist.github.com/tablatronix/faea...5f1e02f82d

you can drop this in your config.js

note that the file upload plugin requires the upload widget which also requires 4 other plugins also, so you should probably use the builder to auto add the dependancies when adding this, or make sure to add all the plugins.

I'm gonna see what I can do with that...

as far as using the builder?
that's a bit beyond me... I'm an infrastructure guy
I can build servers, networks, firewalls and the like
building an editor? LOL no
Wink
Reply
#12
Its on ckeditors website its not hard
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#13
easy for you maybe... my wife is the one that has to listen to me cuss when I muck it up

and mostly I don't want to be too far out from the released environment
if you know what I mean

John
Reply




Users browsing this thread: 1 Guest(s)