what does it happen on safari or chromium browsers?

On Fri, Jun 3, 2011 at 9:19 AM, Roland Labrecque <[email protected]> wrote:

> **
> The html contains something like.
> ...
> *<div contenteditable="true">Edit Me ZZ</div>*
>
> If I place the cursor between the "Z"s and hit <enter> the resulting html
> looks like
>
> *<div contenteditable="true">Edit Me Z<div><br></div><div>Z</div></div>*
>
> This results in a whole lot of extra whitespace. Anyone know how to
> configure this?
> I would like the result to be
>
> *<div contenteditable="true">Edit Me Z<br>Z</div>*
>
> or maybe
>
> *<div contenteditable="true">Edit Me Z<p></p>Z</div>*
>
> I'm currently working on a hack which filters the <enter> and inserts a
> single "<br>" but this seems very kludgy...
>
> Any suggestions would be appreciated!
>
> Cheers,
> Roland L
>
> _______________________________________________
> webkit-qt mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>
>


-- 
--Antonio Gomes
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to