[Webkit-unassigned] [Bug 20654] New: contenteditable iframe changes contents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 4 18:14:06 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20654

           Summary: contenteditable iframe changes contents
           Product: WebKit
           Version: 312.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Major
          Priority: P1
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ptucker at google.com
                CC: ptucker at google.com


We've hit another Webkit issue in Google Docs. It seems that Webkit converts
  to \u00A0 in content-editable mode. I'm guessing it does the same for
other entities. This really messes us up with our editor because it looks to us
like a user change. Is this a known issue, and is there a workaround?

Sample HTML:

<html><head>
<script>
var myBody = null;
function init() {
  myBody = document.getElementById('iframe').contentWindow.document.body;
  myBody.innerHTML = "hello world";
  myBody.contentEditable = true;
}
function foo() {
  alert(myBody.innerHTML);
}
</script>
</head><body onload="init();">
<iframe id="iframe" src=""></iframe>
<input type="button" value="clickme" onclick="foo();">
</body>


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list