Opened 10 years ago

Closed 6 years ago

#3246 closed Bug (fixed)

Indent table problem

Reported by: Garry Yao Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Discussion Cc:

Description

Reproducing Procedures

  1. Open the replace by class example page;
  2. Make the following content with the selection;
    <table border="1" cellpadding="1" cellspacing="1" style="width: 200px; height: 46px;">
    	<tbody>
    		<tr>
    			<td>
    				^text
    			</td>
    			<td>
    				text^
    			</td>
    
    		</tr>
    	</tbody>
    </table>
    
  3. Click 'Indent' button;
    • Actual Result:
      <table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
      	<tbody>
      		<tr>
      			<td>
      				<p>
      					text</p>
      			</td>
      			<td>
      				<p>
      					text</p>
      			</td>
      		</tr>
      	</tbody>
      </table>
      
      
  • Expected Result:
    <table border="1" cellpadding="1" cellspacing="1" style="width: 200px; height: 46px;">
    	<tbody>
    		<tr>
    			<td>
    				<p style="margin-left: 40px;">
    					text</p>
    			</td>
    			<td>
    				<p style="margin-left: 40px;">
    					text</p>
    			</td>
    		</tr>
    	</tbody>
    </table>
    
    

Change History (5)

comment:1 Changed 10 years ago by Garry Yao

Summary: Indent problem cross table cellsIndent table problem

The expected result with refer to MS-Word would be:

        <table border="1" cellpadding="1" cellspacing="1" style="width: 200px; height: 46px; margin-left: 40px;">
            <tbody>
                <tr>
                    <td>
                            text
                    </td>
                    <td>
                            text
                    </td>
                </tr>
            </tbody>
        </table>

comment:2 Changed 10 years ago by Garry Yao

Keywords: Pending added
Milestone: CKEditor 3.0CKEditor 3.x

I would put the expecting result requires under more discussing.

comment:3 Changed 10 years ago by Frederico Caldeira Knabben

Keywords: Discussion added; Pending removed

comment:4 Changed 9 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

comment:5 Changed 6 years ago by Piotrek Koszuliński

Resolution: fixed
Status: newclosed

This issue expired - it is not reproducible on master.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy