Unplanned
Last Updated: 22 Nov 2023 12:52 by Monica
Monica
Created on: 22 Nov 2023 12:52
Category: Editor
Type: Bug Report
0
Exiting table rows are deleted when Inserting table after br tag in Editor

Bug report

When an existing table is wrapped in a <div> and there is a </br> tag in the content, then when a table is inserted through the insertTable tool, the rows from the previous table dissapear.

Reproduction of the problem

  1. Open the Dojo - https://dojo.telerik.com/@NeliKondova/ICAvOQOj
  2. Copy the following content:
<div>
  <table name="content" >
    <tbody>
      <tr>
        <td><strong>Indhold</strong><span>IndholdStart</span></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </tbody>
  </table>
  <span >First </span> 
  </br>
  </br>
  </br>  
  <span >Second</span>
</div>

  1. Click on the 'View HTML' tool in the Editor and paste the content from step 2. Click on the 'Update' button in the ViewHtml popup
  2. In the Editor click between the First and Second
  3. Insert a table through the insertTable tool

Current behavior

The rows from the initial table dissapear.
Note. The issue can be reproduced when both - the dic and the br tag from the example above are present.
screencast - https://somup.com/c0X3lEgyi3

Expected/desired behavior

The extisting tables should not be changed when a new table is inserted

Environment

  • Kendo UI version: 2023.3.1114
  • Browser: [all ]
0 comments