You need to
before you can comment on or make changes to this bug.
The Webkit editor for iframes in designmode does not work properly in all Webkit-based browser for rich text editors such as the Wikipedia editor wikEd. Symptoms are:
1. Deleting the whole text leaves the first character's formatting behind. E.g., if the first character was red and the whole text is deleted, then all characters typed into the empty iframe will be red. It is not possible to get rid of this formatting, neither manually nor through the .execCommand interface.
2. Copy-all, followed by paste inserts strange <span class="Apple-style-span">, <font class="Apple-style-span">, and <div> (no class name or other identifier!) nodes. Repeated copy/paste cycles accumulate large amounts of this junk html. Especially problematic are the <div> tags without identifier because they cannot be filtered and create artificial paragraphs.
As a testcase edit Wikipedia with the Wikipedia richtext editor wikEd (http://en.wikipedia.org/wiki/User:Cacycle/wikEd). The html source can be shown with the source button [<br>] on the right top button bar. This button has to be enabled by placing "var wikEdShowSourceButton = true;" on your User:YourUserName/monobook.js page.
Please file separate bugs for each issue. A single "does not work properly" bug isn't really helpful, there are dozens of known issues that are being investigated, each with its own priority, workarounds etc.
I think that both symptoms might have the same cause, i.e. that Select-All does not select all the (hidden) content on that page.
Meanwhile, I have noticed that Select-All followed by delete does not remove the whole content but leaves a one character wide empty text fragment. After that it is possible to move the the cursor one position to the left or use a backspace-delete. This actually gets rid of the remaining formatting from symptom 1 and is the probable cause of symptom 2.
Alexey: Do you still think I should file separate bugs for each of the symptoms? I will change the title of this bug ticket it into something more meaningful.