#3140: Indent problem with whole table
-----------------------+----------------------------------------------------
 Reporter:  garry.yao  |       Owner:              
     Type:  Bug        |      Status:  new         
 Priority:  Normal     |   Milestone:  CKEditor 3.0
Component:  General    |     Version:  SVN         
 Keywords:             |  
-----------------------+----------------------------------------------------
Description changed by garry.yao:

Old description:

> Currently it's been unable to apply block styles like indent/align to the
> whole table.[[BR]]
>  1. Make the content and selection as below:
> {{{
> ^<table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
>         <tbody>
>                 <tr>
>                         <td>
>                                 <br />
>                         </td>
>                 </tr>
>         </tbody>
> </table>^
> }}}
>
>  1. Apply the ''Indent'' command;
>  * Expected Result:
> {{{
> <p style="margin-left: 40px;">
> <table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
>         <tbody>
>                 <tr>
>                         <td>
>                                 <p>
>                                 </p>
>                         </td>
>                 </tr>
>         </tbody>
> </table>
> </p>
> }}}
>  * Actual Result:
> {{{
> <table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
>         <tbody>
>                 <tr>
>                         <td>
>                                 <p>
>                                 </p>
>                         </td>
>                 </tr>
>         </tbody>
> </table>
> <p style="margin-left: 40px;">
> </p>
> }}}

New description:

 Currently it's been unable to apply indent to the whole table.[[BR]]
  1. Make the content and selection as below:
 {{{
 ^<table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
         <tbody>
                 <tr>
                         <td>
                                 <br />
                         </td>
                 </tr>
         </tbody>
 </table>^
 }}}

  1. Apply the ''Indent'' command;
  * Expected Result:
 {{{
 <p style="margin-left: 40px;">
 <table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
         <tbody>
                 <tr>
                         <td>
                                 <p>
                                 </p>
                         </td>
                 </tr>
         </tbody>
 </table>
 </p>
 }}}
  * Actual Result:
 {{{
 <table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
         <tbody>
                 <tr>
                         <td>
                                 <p>
                                 </p>
                         </td>
                 </tr>
         </tbody>
 </table>
 <p style="margin-left: 40px;">
 </p>
 }}}

--

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3140#comment:1>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to