Opened 15 years ago
Closed 15 years ago
#3813 closed Bug (wontfix)
Unlink result in fragmental <a>
Reported by: | Garry Yao | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.0 |
Component: | Core : Styles | Version: | |
Keywords: | Discussion | Cc: |
Description (last modified by )
Reproducing Procedures
- Open the replace by class example page;
- Make the following selection;
<p> <strong>bo[ld</strong> and lin]k</p>
- Open link dialog to add a link;
- Make a new collapsed selection as following and click 'Unlink';
<p> <strong>bo<a href="http://example.com">ld</a></strong><a href="http://example.com"> and ^lin</a>k</p>
- Actual Result:
<p> <strong>bo<a href="http://example.com">ld</a></strong> and link</p>
- Expected Result:
<p> <strong>bold</strong> and link</p>
Change History (3)
comment:1 Changed 15 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 15 years ago by
Keywords: | Discussion added |
---|
I've checked the following wysiwyg editors are behaving in the same way which make me wonder if it should be called bug.
- Dreamweaver
- MS-WORD
- TinyMCE
comment:3 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
There is no way for us to understand that those links are related and that the user really wants to have both of them removed. The only possible feature we could think about is to not break links when applying them. Using the reported TC, we could have the following after applying the link:
<p> <strong>bo</strong><a href="http://example.com"><strong>ld</strong> and lin</a>k</p>
But that's is a different thing that's not related to this ticket.
Correct the description to clarify the problem.