Opened 15 years ago
Closed 13 years ago
#6204 closed Bug (worksforme)
IE: Spurious html tags wrap links on paste
Reported by: | Jude Allred | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Not reproducable in Firefox or Chrome.
I've also seen '<span style="..."> ... </span>' wrap the links, but I don't have a solid repro for that.
This bug is dependant on the stylesheet which is being run with ckeditor. The stylesheet that ckeditor.com/demo is using doesn't exhibit this bug, so step 4 is entirely about augmenting the demo's css to show the bug. In my production environment, custom templates are allowed on the wiki: One such template gives special coloring and text-decoration to 'a', and that revealed this bug.
Here's the repro for the <u> tags:
- use IE8
- go to ckeditor.com/demo
- set the editor source to:
<p> some say <a class="wikiNew" href="default.asp?W2648">i am a link</a></p>
- switch back to wysiwyg mode
- use the IE8 dev tools to inspect the 'i am a link' href
click the 'style' tab
click the link to 'contents.css' so we can edit the styles
replace the "TEXTAREA" style with the following rule:
A text-decoration: none;
- Look at the editor-- you'll see that 'i am a link' is no longer underlined.
- in the editor, select "some say i am a link"
- copy and paste this text using ctrl+c, ctrl+v
- Notice that 'i am a link' is again underlined
- inspect the source; here's what I got:
<p> some say <a class="wikiNew" href="default.asp?W2648">i am a link</a></p> <p> some say <a class="wikiNew" href="default.asp?W2648"><u>i am a link</u></a></p>
- [BUG] notice that there's an extra <u></u> wrapped around 'i am a link'. [Expected] The copy paste didn't inject anything new.
Attachments (1)
Change History (6)
comment:1 Changed 15 years ago by
Changed 15 years ago by
Attachment: | krst_11.23.32.png added |
---|
comment:2 Changed 15 years ago by
Status: | new → pending |
---|
I attached screenshot with result from steps 1 - 6. The missing underline is not reproducing in my IE8.
Also Copy/Paste, works as expected :
<p> some say <a class="wikiNew" href="default.asp?W2648">i am a link</a></p> <p> some say <a class="wikiNew" href="default.asp?W2648">i am a link</a></p>
Is there something that I am missing?
comment:3 Changed 15 years ago by
Perhaps you're need to refresh the page within the IE dev tools?
Here's a video of the repro: underlining.avi I've hosted it on a dedicated ftp server for you:
comment:4 Changed 15 years ago by
[edits:] s/you're/you'll newline intended after 'underlining.avi' (I didn't press enter twice...)
comment:5 Changed 13 years ago by
Resolution: | → worksforme |
---|---|
Status: | pending → closed |
Checked under latest CKEditor 3.6.2 and issue is not reproducible.
Closing the ticket.
"... so step 4 is entirely ..." should read 'step 5'. I altered the numbering after writing that.