Declined
Last Updated: 18 Feb 2021 12:50 by ADMIN
Jyotika
Created on: 09 Feb 2021 17:33
Category: Editor
Type: Bug Report
0
Editor format different from original format

Hi Support,

In the kendo editor html format differs from the browser. please find below screenshot, dojo link and html file imported to editor.

When html file imported to editor there is no space in between the lines.

 

Same html file opened in chrome browser, then proper spacing can be visible.

Please help to fix the issue asap.

Regards,

Jyotika

Attached Files:
3 comments
ADMIN
Martin
Posted on: 18 Feb 2021 12:50

Hello Jyotika,

Thank you for the provided information.

The reason for the behavior is explained in this article. When the Editor is in classic mode it uses an iframe and applies some default CSS styles to its content. Particularly, the ones below are causing the behavior:

.k-table p {
  margin: 0;
  padding: 0;
}
To resolve this, you can use the approach suggested at the end of the "Using Default styles" paragraph or the one in the "Setting Custom styles" paragraph. 

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Jyotika
Posted on: 17 Feb 2021 07:23

Hi Martin,

Please find below steps to reproduce the issue

1.  open link https://demos.telerik.com/aspnet-mvc/editor/all-tools

2. choose import option available here

3. import the attached html template Approved_1 - Copy.html

4. once after import successful html file will be displayed in the editor as below without line space


5. but the same html file if i open in the browser i could see the line space

So the issue is line space is not shown inside editor. this will confuse the user while creating template. Please help us to resolve the issue as soon as possible. same can also be observed in dojo https://dojo.telerik.com/INuZeQiX/2

 

Attached Files:
ADMIN
Martin
Posted on: 16 Feb 2021 13:42

Hello, Jyotika,

Unfortunately the provided information is not enough for me to reproduce the issue you are experiencing. Could you please share some additional information as well as the steps I need to make to observe the problem? Once I am more familiar with the scenario, I will be happy to share more details.

Looking forward to your reply.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.