Opened 11 years ago
Last modified 11 years ago
#10766 confirmed Bug
[Webkit] Irresistible content when pasting into entirely selected editable
Reported by: | Olek Nowodziński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | 4.0 |
Keywords: | Cc: |
Description
- Open replacebycode
- Set the following HTML:
<p>Hello world!</p> <p style="text-align:right"><a href="#">Wooo! I'm so sticky!</a></p>
- Select the paragraph:
<p>[Hello world!]</p>
- C-c
- C-a
- C-v
- Switch to Source and back to WYSIWYG.
Note there's an unwanted paragraph aligned to the right at the end of editable:
<p>Hello world!</p> <p style="text-align:right"> </p>
Now remove the link from the original content and repeat all the steps. Use the following startup data:
<p>Hello world!</p> <p style="text-align:right">Yay! I'm not so sticky anymore!</p>
Result is just perfect:
<p>Hello world!</p>
Attachments (1)
Change History (3)
comment:1 Changed 11 years ago by
Version: | → 4.0 |
---|
Changed 11 years ago by
Attachment: | 10766.html added |
---|
comment:2 Changed 11 years ago by
Status: | new → confirmed |
---|
The sample.