2016-04-18, 23:43:14 (This post was last modified: 2016-04-18, 23:52:06 by jwzumwalt.)
(2016-04-18, 21:58:47)zekoolwe Wrote: THE PROBLEM : If i double-click on image, and change it, Ckeditor ERASE the code.
I deal with this problem on a daily basis and we have had several discussions on this. CKEDIT is modifying your code without your approval. This is a severe problem, if I try to edit a link from the WYSIWUG it destroys my formatting and styles.
The only workaround I am aware of is to switch to "source" code view. "Source" code view will allow you to do what you want, but be forewarned that it still re-formats your code as it sees fit - it still adds/removes/inserts line breaks and other code unexpectedly.
This is the only major drawback that I see with GS - a person should be able to override this but I have not found a way.
I tried to reproduce this by doing this in the gui of ckeditor (4.x): placing image, add link to it, change image. Then it won't happen. I don't know what kind of url's you have written in source view, but apparently they are different then how ckeditor does this (or I don't know what couses it).
2016-04-19, 00:23:46 (This post was last modified: 2016-04-19, 00:29:02 by jwzumwalt.)
(2016-04-19, 00:12:57)datiswous Wrote: What version of ckeditor do you use?
I tried to reproduce this by doing this in the gui of ckeditor (4.x): placing image, add link to it, change image. Then it won't happen. I don't know what kind of url's you have written in source view, but apparently they are different then how ckeditor does this (or I don't know what couses it).
That's exactly the point.
CKEDIT wipes out what you have typed and re-formats to it's own generic code.
This behavior is will documented in other discussions.
Shawn has mentioned he has given some thought to how he might resolve it in a future release.
I tried reproducing your issue by using the full url in that gif. I can't reproduce, ckeditor doesn't remove the link from the image in my situation. I would like to see the original post(s) about it, because maybe there are additional reasons when this happens?
What Ckeditor plugins have you installed? Or what is your toolbar configuration. Could also be a plugin doing something (?)
Tried to reproduce, by using toolbar code and installed and activated same plugins, still can't reproduce (btw, I't's not that I don't believe you, but it's nice to have a starting point).
You use the GSckePatch to activate Ckeditor 4.4.7 . Maybe you can disable that plugin and update your installation to the beta 3.3.9b3 which uses Ckeditor version 4.5.7 as the main editor (that's what I use at the moment). See if that might make the difference.
Yes, that's the discussion.
The GUI completely destroys plain text computer code listings.
I did not mention in that thread that it destroyed links as well
As a programmer, I think GS is the greatest thing since sliced bread,
but if I were a customer of zekoolweband could not post un-formatted
plain text I would ask for my money back.
Well it doesn't destroy links anymore in that 3.9 beta 3. It also includes a code snippet plugin.
What I find anoying is that it adds <p> around everything and changes <br> into <br />, etc. (this was the reason I started research on implementing SimpleMDE) Although afaik these 2 issues can be fixed by doing some configurations.