Opened 6 years ago

Closed 4 years ago

#4949 closed Bug (fixed)

Inserting table column results in wrong colspan

Reported by: tobiasz.cudnik Owned by:
Priority: Normal Milestone:
Component: Core : Tables Version: 3.0
Keywords: Cc:

Description

Inserting table column results in wrong colspan.

Reproduce

  1. Use following content:
    <table>
    	<tbody>
    		<tr>
    			<td colspan="2">
    				TD</td>
    		</tr>
    		<tr>
    			<td>
    				&nbsp;</td>
    			<td>
    				&nbsp;</td>
    		</tr>
    	</tbody>
    </table>
    
  2. Right click on first cell "TD" and choose "Column -> Add column after".
  3. Result
    <table>
    	<tbody>
    		<tr>
    			<td colspan="2">
    				TD</td>
    			<td colspan="2">
    				&nbsp;</td>
    		</tr>
    		<tr>
    			<td>
    				&nbsp;</td>
    			<td>
    				&nbsp;</td>
    			<td>
    				&nbsp;</td>
    		</tr>
    	</tbody>
    </table>
    
  4. Expected: New column should be added in first row without colspan="2".

Change History (3)

comment:1 Changed 5 years ago by fredck

  • Milestone CKEditor 3.x deleted

Milestone CKEditor 3.x deleted

comment:2 Changed 5 years ago by wwalc

  • Component changed from General to Core : Tables
  • Version changed from SVN (CKEditor) - OLD to 3.0

comment:3 Changed 4 years ago by j.swiderski

  • Resolution set to fixed
  • Status changed from new to closed

This ticket is no longer reproducible in latest CKEditor 3.6.2

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