Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible fix ckeditor + "Browse server" + chrome version 20
#1
First of all, sorry for the translation.
Possible solution to the problem with ckeditor and the "Browse server" in "Image Properties" chrome version 20.0.1132.57 m.

  This problem occurs when you press the "browse server" property of the image using CKEditor , pressing the button the window is not displayed and is minimized.
The solution implemented on my site, and would like to share, was as follows:

open the file /home/usuario/public_html/admin/template/js/ckeditor/ckeditor.js

Search on line 75 the following piece of code:

try{s.moveTo(r,q);s.resizeTo(n,o);s.focus();s.location.href=m;}

Replace with:

try{setTimeout(function(){s.moveTo(r,q);s.resizeTo(n,o);},100);s.focus();s.location.href=m;}

This will take the time to Chrome to know its position and measures.

I'm no expert in js, so please let me confirm that is an acceptable solution.

Greetings and thanks
Reply
#2
hmm, this issue is back i chrome ?

I have an open issue for getsimple , this is fixed in a later ckeditor version.

But then chrome updated to 19 and it went away.
So we never fixed the bug in core.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
Yes, the problem returned, but not only that, already has 4 years of incidents,
http://code.google.com/p/chromium/issues/detail?id=2091

Apparently the version 21 fixes this bug, but seeing the history of incidents, I preferred to find a solution.
Reply
#4
Donsegundo Wrote:Apparently the version 21 fixes this bug, but seeing the history of incidents, I preferred to find a solution.
I can confirm it's no longer a problem in 21 but it was in 20 and before then too. I'll be adding your fix though Donsegundo to cover my bases, so thanks.
Modern UI Admin for GetSimple
Watch the demo. Install this plugin. Use this CSS. Enjoy.
Reply
#5
Reopened my bug report and will addresses this in core.

https://dev.ckeditor.com/changeset/7523

And here is the sanctioned fix.
https://dev.ckeditor.com/changeset/7523

Not sure how far behind we are on versions and if it can be applied to our version.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#6
sal Wrote:
Donsegundo Wrote:Apparently the version 21 fixes this bug, but seeing the history of incidents, I preferred to find a solution.
I can confirm it's no longer a problem in 21 but it was in 20 and before then too. I'll be adding your fix though Donsegundo to cover my bases, so thanks.


Salt, for nothing, I hope it helps.
Reply
#7
shawn_a Wrote:Reopened my bug report and will addresses this in core.

https://dev.ckeditor.com/changeset/7523

And here is the sanctioned fix.
https://dev.ckeditor.com/changeset/7523

Not sure how far behind we are on versions and if it can be applied to our version.

Unfortunately does not apply to the version that uses Getsimple.
This fix proposes to modify the file

CKEditor/trunk/_source/plugins/popup/plugin.js

and the file I modified is:

/ckeditor/ckeditor.js
Reply
#8
Afraid I'm not sure if this is the same issue, but the html editor in GetSimple 3.1.2 does not work in Chrome Version 23.0.1271.95 (Ubuntu 12.04).

Works fine in Firefox.
Reply
#9
Is this a Canary version?
Every time they break this it's usually fixed before chrome releases it so we never have addressed it.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)