[webkit-dev] Editable selection inside empty element
robburns1 at mac.com
Fri Sep 21 19:18:48 PDT 2007
I was struggling with the same issue of setting the selected DOM
range to an empty element. I believe there's a bug filed on it.
What I've been toying with is adding zero-width spaces to elements
and then cleaning up after those characters or the elements
themselves if the author doesn't add content to the element.
Its a pretty serious bug however for any editor trying to do real
On Sep 21, 2007, at 6:53 AM, Frederico Caldeira Knabben wrote:
> It is a pleasure to say that FCKeditor is almost completely working
> Safari. There are still some issues, but we'll be able to finally
> official support for Safari 3. Thanks for the hard work at WebKit's
> Now, back to the point...
> For the few big issues we are having with Safari, I'm going almost
> trying to find a way to place the caret inside an empty element for
> To understand the problem, just try the following page:
> This page works well with Firefox 2 and Opera 9.5 (minor issues
> with this
> Before opening a bug report for it, I'm coming to the mailing list
> for a
> desperate call for help.
> Does anyone know any weird hack to make the magic happen with
> Safari too?
> I've tried hundreds of combinations, but none worked correctly.
> Thanks for any help in this sense.
> Frederico Caldeira Knabben
> Project Manager, FCKeditor
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
More information about the webkit-dev