sibiraj-s / ngx-editor

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

[Bug]: Editor not compatible with rendered HTML #430

Closed roip890 closed 1 year ago

roip890 commented 1 year ago

What happened?

I found 2 examples that the text inside the editor is not compatible with the rendered HTML.

  1. There is no option to make multiple whitespaces. It got trimmed in the rendered HTML.
  2. When I make a new break line (press Enter) it creates a

    . On the rendered HTML I don't see those new lines.

Version

v13.0.0

Angular Version

v13.2.4

What browsers are you seeing the problem on?

No response

Link to reproduce

No response

Relevant log output

No response

Willing to submit a PR?

No response

sibiraj-s commented 1 year ago

I believe it's the prosmirror's behaviour. the editor itself does not generate or transform HTML.

github-actions[bot] commented 1 year 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.