#3813: Unlink result in fragmental <a>
---------------------------+------------------------------------------------
 Reporter:  garry.yao      |       Owner:              
     Type:  Bug            |      Status:  new         
 Priority:  Normal         |   Milestone:  CKEditor 3.0
Component:  Core : Styles  |     Version:              
 Keywords:                 |  
---------------------------+------------------------------------------------

Old description:

> === Reproducing Procedures ===
>  1. Open the ''replace by class'' example page;
>  1. Make the following selection;
> {{{
> <p>This is some <strong>sa^mple text</strong>. You^ are using <a
> href="http://www.fckeditor.net/";>CKEditor</a>.</p>
> }}}
>   * Actual Result:
> {{{
> <p>
>         This is some <strong>sa<a href="http://example.com";>mple
> text</a></strong><a href="http://example.com";>. You</a> are using <a
> href="http://www.fckeditor.net/";>CKEditor</a>.</p>
> }}}
>   * Expected Result:
> {{{
> <p>
>         This is some <strong>sa</strong><a
> href="http://example.com";><strong>mple text</strong>. You</a> are using
> <a href="http://www.fckeditor.net/";>CKEditor</a>.</p>
> }}}

New description:

 === Reproducing Procedures ===
 1. Open the ''replace by class'' example page;
 1. Make the following selection;
 {{{
 <p>
         <strong>bo[ld</strong> and lin]k</p>
 }}}
 1. Open link dialog to add a link;
 1. 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>
 }}}

--

Comment(by garry.yao):

 Correct the description to clarify the problem.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3813#comment:1>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to