Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(solved) I am unable to copy images inside getsimple editor
#1
Hello.

Can somebody help me, please? I am unable to copy images inside gestimple editor (ckeditor). I have 3.0 version (latest stable). I tested also here: "http://php.opensourcecms.com/scripts/det...mple%20CMS" not only on my local xampp and on server too / this behaviour is everywhere.

When I logged into getsimple website admin, inserted image under the page and then try to copy it ... i am not able:
"Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).".

So because of that I tried Ctrl+C ... nothing happened. I found out, that when I have Alternative Text under Image properties it copy only that alternative text as plain text.

Sorry for my english and thank you for help in advance.
Regards Peter
Reply
#2
Peter,

you can also use the german subforum, if that is more convenient for you!

1) this copy-problem is not at all a problem of the editor
2) it is a problem of the browser

I guess you are using Firefox? Try another browser and you will see that it is not the editor of Getsimple, it is the browser's security

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
Connie Wrote:Peter,

you can also use the german subforum, if that is more convenient for you!

1) this copy-problem is not at all a problem of the editor
2) it is a problem of the browser

I guess you are using Firefox? Try another browser and you will see that it is not the editor of Getsimple, it is the browser's security

Cheers, Connie

Hello Connie,

I tried that also with Safari and IE - still not able to copy with Ctrl+C, Ctrl+V. But here: http://ckeditor.com/demo everything working fine. Even inside Firefox. What about others? Are you able to copy images in the editor?

Thank you, Peter
Reply
#4
Peter,

please explain me, why you have to copy an image from the editor to the editor?
I never worked that way
you can include images using images from the server
you can include these images more than one time, in different or in the same posting, it is only 3 clicks

so why do you want to copy from the editarea to the edit-area?

to help you out: I found the reason, now try this:

1) the working way is explained here in the editor documentation:
http://docs.cksource.com/ckeditor_api/sy...MenuOnCtrl

2) it needs an editor-plugin which is not active by default (even when the setting is set to "true" by default)

3) so include the CKEditor-contextmenu-plugin into your admin\template\js\ckeditor\plugins-directory

but where to get this plugin? It is located in the folder _source of a complete editor-version which you should download ..

but as Christmas is near, I zipped that plugin and added it to this posting ;=)

Tell me if you are better now,

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#5
I did a web research and found no solution for this.
It seems that in older versions of the editor, FCKEditor, this did not happen
so it might be a problem since CKEditor 3

but I am not sure how to overcome this
nobody has a solution for it, not in the ckeditor-forums not anywhere else
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#6
I opened a post at the ckeditor forum: http://cksource.com/forums/viewtopic.php?f=11&t=24329
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#7
Connie Wrote:I opened a post at the ckeditor forum: http://cksource.com/forums/viewtopic.php?f=11&t=24329

Hello Connie.
  • Thank you for your effort, but browserContextMenuOnCtrl did not work for me. I really don't know why. I also searched over internet and also tested few situations inside local xampp, I tried several new instalations, but without success.
  • Thank you for opening a post at the ckeditor forum. I will look inside later and I hope that somebody will find a solution.
  • The reason why I want this is because I am making one site for a client and he have many images as content. Sometimes there are situations when he want to copy few images and place them to different page. I know how to do it - in the source. But I don't want from him to start to copy content inside source code because he don't know anything about web programming, he know only basics of personal computer. That's why I think that simple selection and then ctrl+c, ctrl+v will be the smartest solution.

Thank you once more again for your effort. BTW GetSimple is great lightweight CMS and I like it very much.
Merry Christmas everyone Smile

Regards, Peter
Reply
#8
Peter,

"browserContextMenuOnCtrl" was wrong, it is to control whether you want ther BrowserContextMenu plus the Editor Context Menu .. which is not so nice to work with

but: if your client wants to include images in the text, at many different pages: please do define the advanced editor toolbar, you will have a symbol for including images in the text
clicking on that symbol will open the dialogue with the option to search the server and he will find all images which were uploaded to data/uploads and children-folder
if you add an advanced filebrowser (I described how to include a free one in the german get-simple.de-website and will add that description to the WIKI in the near time as well) your client will be able even to upload images and flash files to the server from that dialogue

so I think you fill find a solution for the problem
I hope we will get an answer in the editor-forum because I am also curious ;=)

I am glad that you like GS and I whish you also a merry christmas!

Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#9
Connie Wrote:Peter,

"browserContextMenuOnCtrl" was wrong, it is to control whether you want ther BrowserContextMenu plus the Editor Context Menu .. which is not so nice to work with

but: if your client wants to include images in the text, at many different pages: please do define the advanced editor toolbar, you will have a symbol for including images in the text
clicking on that symbol will open the dialogue with the option to search the server and he will find all images which were uploaded to data/uploads and children-folder
if you add an advanced filebrowser (I described how to include a free one in the german get-simple.de-website and will add that description to the WIKI in the near time as well) your client will be able even to upload images and flash files to the server from that dialogue

so I think you fill find a solution for the problem
I hope we will get an answer in the editor-forum because I am also curious ;=)

I am glad that you like GS and I whish you also a merry christmas!

Connie

... I had Advanced toolbar configured (it is always turned on).

But I still hope, that somebody will find a good solution for this. Get simple will be even more user friendly Smile and that's good.

Bye, Peter
Reply
#10
user-peter Wrote:
Connie Wrote:Peter,

"browserContextMenuOnCtrl" was wrong, it is to control whether you want ther BrowserContextMenu plus the Editor Context Menu .. which is not so nice to work with

but: if your client wants to include images in the text, at many different pages: please do define the advanced editor toolbar, you will have a symbol for including images in the text
clicking on that symbol will open the dialogue with the option to search the server and he will find all images which were uploaded to data/uploads and children-folder
if you add an advanced filebrowser (I described how to include a free one in the german get-simple.de-website and will add that description to the WIKI in the near time as well) your client will be able even to upload images and flash files to the server from that dialogue

so I think you fill find a solution for the problem
I hope we will get an answer in the editor-forum because I am also curious ;=)

I am glad that you like GS and I whish you also a merry christmas!

Connie

... I had Advanced toolbar configured (it is always turned on).

But I still hope, that somebody will find a good solution for this. Get simple will be even more user friendly Smile and that's good.

Bye, Peter

Maybe there is something here > everytime I click on "Paste" icon ... I will get a "Paste as plain text" dialog.

also when this is in config.js:

CKEDITOR.editorConfig = function( config ) {
config.AutoDetectPasteFromWord = false ;
config.CleanWordKeepsStructure = false;
config.ForcePasteAsPlainText = false;
};

also I found out that when I open PasteFromWord dialog (mouse click on the icon in the toolbar) and paste content (images) there (ctrl+v) everything is working fine. Inside this PasteFromWord (after icon click) the dialog title is: "Paste" / not Paste from Word!

I think this mean that pasting is working and problem is somewhere else.
Maybe this information help a bit with finding a solution.

BTW - I installed the latest version of ckeditor (3.6.2) and the toolbar collapse is working now (the default ckeditor configuration had a problem with collapse of toolbar).

Peter
Reply
#11
(SOLVED)
Under admin/edit.php

change:
forcePasteAsPlainText : true,

to:
forcePasteAsPlainText : false,

Smile Peter Smile
Reply
#12
user-peter Wrote:(SOLVED)
Under admin/edit.php

change:
forcePasteAsPlainText : true,

to:
forcePasteAsPlainText : false,

Smile Peter Smile

Peter, great that you found that, I was not aware that this setting is hardcoded in edit.php

I suggest not to edit this setting in edit.php but to add that to the editoroptions in the gsconfig.php, these options overwrite the settings in the edit.php, but gsconfig.php will not be overwritten by updates




Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply




Users browsing this thread: 1 Guest(s)