Unplanned
Last Updated: 08 Jun 2022 12:22 by Wenyan
Created by: Wenyan
Comments: 0
Category: Editor
Type: Bug Report
0

Bug report

The tables within the Editor are not exported correctly (do not fit in the exported pdf document) when resized before exporting.

Reproduction of the problem

  1. Open the following demo.
    https://demos.telerik.com/kendo-ui/editor/pdf-export
  2. Resize the column of the table.
  3. Export to PDF.

Current behavior

The table does not fit in the exported document.

Expected/desired behavior

The table should fit in the document.

Environment

  • Kendo UI version: 2022.2.510
  • Browser: [all]
Unplanned
Last Updated: 29 Oct 2020 16:05 by Rob

Bug report

Reproduction of the problem

Dojo example.

  1. Open the dev tools console.
  2. Click on the button above the Editor.
  3. The Editor value is logged in the console.
    Note this part in the content:
if (value == 1) { text += "<h2>Apple</h2>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br><br>>> APPLE Deutschland</a>";
  1. Click on the "viewHtml" tool. In the popup do not make any changes to the content, just click on "Update".
  2. Click on the button above the Editor.
    The mentioned part of the script tag now looks like this:
if (value == 1) { text += "<h2>Apple</h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br><br>>> APPLE Deutschland</a>";

A js exception is thrown after this content is loaded in the div below the Editor, because of the line break after:

if (value == 1) { text += "<h2>Apple</h2>

Current behavior

The viewHtml modifies the content of script tags, which causes js logic to become invalid.

Expected/desired behavior

The viewHtml tool should not make changes to the content of script tags.

Environment

  • Kendo UI version: 2020.3.1021
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 19 Jun 2020 08:05 by Yngve
Created by: Yngve
Comments: 0
Category: Editor
Type: Bug Report
2

Bug report

When a table is created through the table wizard and cellspacing is set to 0, this value is ignored and the table is created with no cellspacing value. 0 is a valid value and it affects the appearance of the table, so it should not be equivalent to not setting cellspacing.

Reproduction of the problem

Reproducible in the demos.

  1. Use the table wizard.
  2. Set 0 as cellspacing value.
  3. Create the table.
  4. Inspect the table in the browser's dev tools.

Current behavior

The table has no cellspacing attribute.

Expected/desired behavior

The table has cellspacing set to 0.

Environment

  • Kendo UI version: 2020.2.617
  • jQuery version: x.y
  • Browser: [all ]
Unplanned
Last Updated: 08 Oct 2019 09:23 by ADMIN

Hello,

On MAC, command+c cut instead of copy when selected texts are in a table. To duplicate, please follow these steps.

1. Go here: https://demos.telerik.com/aspnet-mvc/editor

2. Insert a new table.

3. Add some text into the table.

4. Select texts in the table.

5. Press command+c on MAC.

 

Please advise.

Thank you.