sibiraj-s / ngx-tiptap

Angular bindings for tiptap v2
https://sibiraj-s.github.io/ngx-tiptap/
MIT License
126 stars 19 forks source link

No content displayed when it is JSON #21

Closed GitHubish closed 2 years ago

GitHubish commented 2 years ago

Hello, while updating Tiptap and ngx tiptap I noticed a bug. When the editor is initialized and the input is in JSON no content is displayed. However there is no error. I could reproduce my case on this example:

stackblitz demo

sibiraj-s commented 2 years ago

I was able to see the content displayed in the editor correctly with JSON input in the stackblitz demo shared

Screenshot 2022-01-18 at 7 04 20 AM
GitHubish commented 2 years ago

@sibiraj-s Sorry my fork was not saved when Angular was upgraded to version 13. I just checked the demo is in v13 and the problem is clearly visible (chrome / brave and Firefox). On your side too?

Thanks for your answer !

demo

sibiraj-s commented 2 years ago

Can see the bug now. It was broken in 4.0.1 while fixing another bug.

sibiraj-s commented 2 years ago

Fixed in v4.0.4

GitHubish commented 2 years ago

Great thanks @sibiraj-s !

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.