Ticket #4824 (closed Bug: fixed)

Opened 5 years ago

Last modified 4 years ago

[IE] Writing "<br/>&nbsp;" at the very first in <td> breaks the editor

Reported by: pomu0325 Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.2
Component: UI : Source View Version: SVN (CKEditor) - OLD
Keywords: Confirmed IE Review+ Cc: pomu@…

Description

To Reproduce

  • Open CKEditor sample
  • Switch to source mode
  • Paste following html source
    <table>
     <tr>
      <td>
       <br/>&nbsp;</td>
     </tr>
    </table>
    
  • Go back to WYSIWYG mode
  • Try to switch to source mode again
  • Then, 'nodeValue.length is null or not an object' error occurs at line.499 of selection/plugin.js

Attachments

4824.patch (1.3 KB) - added by garry.yao 5 years ago.

Change History

comment:1 Changed 5 years ago by fredck

  • Keywords Confirmed IE added
  • Milestone set to CKEditor 3.2

comment:2 Changed 5 years ago by fredck

Works well with IE8 Compatibility Mode. Breaks with IE8 Non-Compatibility Mode.

comment:3 Changed 5 years ago by garry.yao

  • Status changed from new to assigned
  • Owner set to garry.yao

Changed 5 years ago by garry.yao

comment:4 Changed 5 years ago by garry.yao

  • Keywords Review? added

The following special case (<BR> at the start of a table) confuses IE's comparison of ranges (compareEndPoints):

<td>^<br/>&nbsp;</td>

We need a new way for measuring range's equivalence here.

comment:5 Changed 5 years ago by alfonsoml

  • Keywords Review+ added; Review? removed

comment:6 Changed 4 years ago by garry.yao

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

Fixed with [5011].

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