iliyaZelenko / tiptap-vuetify

Vuetify editor. Component simplifies integration tiptap editor with vuetify.
https://iliyazelenko.github.io/tiptap-vuetify-demo/
804 stars 126 forks source link

JSON content isn't showing up #301

Closed NathanWailes closed 3 years ago

NathanWailes commented 3 years ago

I posted on Stack Overflow what my issue is:

https://stackoverflow.com/questions/69282321/json-content-shows-a-blank-window-for-tiptap-vuetify

Background I'm using tiptap-vuetify to implement a message/chat UI where users see an editable instance for creating new messages as well as several uneditable instances (one for each already-sent message in the thread the user is viewing).

I have the editable instance output data in JSON format, which I store in my database in a JSONB field.

Problem When I load the JSON for sent messages from the database, only plaintext messages show up; if I applied any kind of styling (bold, italics, lists, etc.), nothing at all shows up.

NathanWailes commented 3 years ago

I figured out the fix: https://stackoverflow.com/a/69294706/4115031