Opened 16 years ago

Last modified 15 years ago

#2957 confirmed Bug

plugin:table insertion doesn't continue with style it breaked

Reported by: Garry Yao Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0 Beta 2
Keywords: Cc: Garry Yao

Description

New table insertion should keep continuation with the element style which it break due to the selection.

Reproducing procedure:

  1. Open Replace by code sample;
  2. Make the selection collapsed as below:
    <p><strong>te^xt</strong></p>
    
  3. Click table button to insert a 1X1 default table, and switch to source mode;
  4. Check the source content.
  • Expected result: The content is:
    <p>
        <strong>te</strong>
    </p>
    <table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
        <tbody>
            <tr>
                <td>
                    <strong>
                        <br/>
                    </strong>
                </td>
            </tr>
        </tbody>
    </table>
    <p>
        <strong>xt</strong>
    </p>
    
  • Actual result: The content is:
    <p>
        <strong>te</strong>
    </p>
    <table border="1" cellpadding="1" cellspacing="1" style="width: 200px;">
        <tbody>
            <tr>
                <td>
                    <br/>
                </td>
            </tr>
        </tbody>
    </table>
    <p>
        <strong>xt</strong>
    </p>
    

Change History (5)

comment:1 Changed 16 years ago by Martin Kou

Keywords: Confirmed added

Tables added between styles in MS Office do continue styles. OpenOffice.org doesn't support that yet.

Since people don't usually add tables in between style tags, this isn't a really critical bug. But it's nice to get it fixed in the future.

comment:2 Changed 16 years ago by Garry Yao

Cc: Garry Yao added
Priority: NormalLow

comment:3 Changed 16 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.0CKEditor 3.x
Priority: LowNormal

comment:4 Changed 15 years ago by Alfonso Martínez de Lizarrondo

Version: SVN (FCKeditor)CKEditor 3.0 Beta 2

comment:5 Changed 15 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy