Opened 13 years ago

Last modified 13 years ago

#7289 closed Bug

Can't remove empty paragraph first in document that's followed by a table — at Version 2

Reported by: merixzon Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IBM Cc: magnus@…, satya_minnekanti@…

Description (last modified by Krzysztof Studnik)

It does not appear to be possible to remove an empty paragraph in the beginning of a document, which is followed by a table.

To reproduce:

  1. Switch to source mode and insert the following code:
    <p>&nbsp;</p>
    <table border="1" cellpadding="1" cellspacing="1" style="width: 500px; ">
      <tbody>
       <tr><td>&nbsp;</td></tr>
      </tbody>
    </table>
    <p>&nbsp;</p>
    
  2. Switch back to wysiwyg. Now there's an empty paragraph at the top which can't be removed in the wysiwyg mode, as far as I can tell. Can't get rid of it using delete or backspace.

(this also applies to header tags. If you start the document with "<h1>Hello</h1>" instead, you can remove the text in wysiwyg, but you'll be left with "<h1>&nbsp;</h1>".

Tested with Firefox 3.6.13 and Chrome 9 on Linux, and have heard similar reports from Chrome/Windows users.

Change History (2)

comment:1 Changed 13 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added
Keywords: IBM added

comment:2 Changed 13 years ago by Krzysztof Studnik

Description: modified (diff)
Status: newconfirmed
Version: 3.0

Confirmed since CKE v3.0
Empty paragraph in WYSIWYG mode could be visually selected and removed

  • set caret in empty paragraph
  • select paragraph using SHIFT+right cursor key
  • press Delete on keyboard

As a result, paragraph is "deleted", but after switching into source mode, it is still there.

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