This is a migrated thread and some comments may be shown as answers.

Editor not showing all html content

1 Answer 396 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Naveed
Top achievements
Rank 1
Veteran
Naveed asked on 21 Oct 2020, 11:56 AM

The editor is not showing all of the html content when assigned as value to it. The same html when opened in browser shows all content.


Here is the stackblitz link where it can be replicated 

https://stackblitz.com/edit/angular-odcrkl?file=app/app.component.ts

 

1 Answer, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 23 Oct 2020, 07:30 AM

Hello Naveed,

Thanks for the provided details.

I guess there is some confusion on what are the design goals of the Editor. Let me clarify that.

By design the EditorComponent is a What-You-See-Is-What-You-Get (WYSIWYG) editor - its content is visually consistent. To achieve this consistency some rules have to be applied and the underlying HTML may be modified. For example, for this particular case the <font> tag and some other tag attributes are not supported. 

Having said that, we are planning to release a future update which will allow users to customize the behaviour of the Editor but since this would be a non-trivial task, I can't commit to a specific timeline.

I hope this helps. Please let me know if further clarification is needed.

Regards,
Petar
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/.

Tags
Editor
Asked by
Naveed
Top achievements
Rank 1
Veteran
Answers by
Petar
Telerik team
Share this question
or