__| English |________
Problem on Chromium ( Linux version of Google Chrome )
If I use the inline editor ( a DIV with contenteditable="true" )
if a parent DIV is loaded as hidden ( visibility:hidden ) the toolbar appears, but is not usable, and the DIV can't be edited.
If the DIV is loaded as visible, and in a second time turn hidden and so visible, there is no problem,
On Mozilla Firefox no problem.
__ | Esperanto | ________
Problemo en Chromium (Linux versio de Google Chrome)
Se mi uzas la inline editor (DIV kun contenteditable="false")
se, en la malfermo de la paĝo, la DIV (aŭ la patron DIV) estas malvidebla (visible:false), la ŝlosiloj estas maluzeblaj, kaj la DIV ne povas esti reredaktita.
Se en la malfermo de la paĝo, la DIV estas videbla, ne estas problemon,
Mozilla Firefox ne havas problemojn.
__| Italiano |________
Problema su Chromium (versione Linux di Google Chrome): Quando uso l'editor inline (il DIV editabile), se all'apertura della pagina il div (o div superiore) è nascosto (display:hidden) quando lo rendo visibile non riesco ad editare.
Se invece all'apertura è caricato come visibile, anche se lo nascondo, e poi lo rendo dinuovo visibile, funziona regolarmente.
Su Firefox funziona tutto regolarmente.
+1
I had the same issue, posted a bug report @ http://dev.ckeditor.com/ticket/9814 please comment on that to bump the issue :)
Have you found any kind of workaround for webkit browsers?
I am triyng, but without
I am triyng, but without solutions.
I don't know if Internet Explorer is affected by this bug too.
Any word on this? Found a
Any word on this? Found a fix? I'm having the same issue.
Thanks!
Hi,
Hi,
I had the same issue.
The problem is chrome makes contenteditable false when the parent div is hidden.
I found 2 way to get around this.
First is with some css:
The second is with some jquery:
Hope this helps.
Cheers
@mwain: your solution works.
@mwain: your solution works. but tool bar is still disabled. I could only edit.
I was able to reproduce this
I was able to reproduce this in Chrome.
If an element is set to contenteditable=true, but the element is invisible, the contenteditable attribute is set to false. The solution I found was, when the element becomes visible, destroy the existing CKEDITOR and re-create using...similar to the method above, but not re-using the existing CKEDITOR object:
That piece of css. Where do
That piece of css. Where do you use it? I can't seem to solve this problem. I can't just simply destroy the instance because it need to load data.
optimized
This worked for me (need Jquery)
If anyone is wondering, this
If anyone is wondering, this issue happens due to a bug in Chrome - https://code.google.com/p/chromium/issues/detail?id=313082. Previously this bug also concerned Safari, but it was fixed in Safari 7.1. So now only Chrome remains but unfortunately there's little happening with it.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
A better fix
This was the easiest, cleanest way of working around this that I could find.
Thanks! I copied this
Thanks! I copied this workaround to the ticket.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Solved same issue on iPad with mobile Safari
Emmanuel - thank you! I had just started on a journey of integrating CKEditor into a site I'm developing and was well into it when I found out it was not working at all on iPad with iOS v.7.x.x and mobile Safari. I'm a newbie web developer (even at age 50!) and this was my first exposure to CKEditor, which I am in awe of.
However, given the failure on iPad I started getting that sick feeling that all those hours were going to be lost. Then I found your elegant solution.
Thank you for taking the time to post this.