sibiraj-s / ngx-editor

🖋️ Rich Text Editor for angular using ProseMirror
https://sibiraj-s.github.io/ngx-editor/
MIT License
458 stars 191 forks source link

HTML content is not rendering properly in editor. #551

Closed ghost closed 6 months ago

ghost commented 6 months ago

What happened?

I am on Angular v15 and trying to implement ngx-editor v15.3.0.

When I try to render the HTML content, it does not comes in proper HTML format in the editor.

For example, <table> tag is ignored and all the content is put inside the <p> tag.

Here's the stackblitz link.

Desired output:

image

Actual Output:

image

Kindly assist. Thanks.

Version

v15.3.0

Angular Version

v15.2.10

What browsers are you seeing the problem on?

Chrome

Link to reproduce

https://stackblitz.com/edit/angular-15-starter-pack-srzsdb?file=src%2Fapp%2Fapp.module.ts,src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.component.html

Relevant log output

No response

Willing to submit a PR?

None

sibiraj-s commented 6 months ago

Hi @SaurabhaArya , Tables aren't supported.

ghost commented 6 months ago

Okay. Thanks for your response.

github-actions[bot] commented 5 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.