|Summary:||Select-All does not select all content (HTML editor for iframes in designmode)|
|Component:||HTML Editing||Assignee:||Nobody <webkit-unassigned>|
|Severity:||Major||CC:||lukebenes, RandomDSdevel, rniwa|
|Version:||528+ (Nightly build)|
Description Cacycle 2010-01-30 11:21:25 PST
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.
Comment 1 Alexey Proskuryakov 2010-01-30 20:27:23 PST
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.
Comment 2 Cacycle 2010-02-02 12:22:55 PST
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.
Comment 3 Bryce Glover 2013-04-08 17:05:50 PDT