Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load old value with embedded image in trix #70

Open
nadeem706 opened this issue Jun 7, 2022 · 0 comments
Open

load old value with embedded image in trix #70

nadeem706 opened this issue Jun 7, 2022 · 0 comments

Comments

@nadeem706
Copy link

nadeem706 commented Jun 7, 2022

Hi All,
I am able to retrieve old data without embedded images
Screenshot_196
data value
{"_token":"lg8BfOjjTKVyCUhWhYNt0bKoXiYj6tJGBbVTFSig","customermessage-trixFields":{"content":"<div><strong>sdsdsdsd<br><\/strong><strong><del>sdsdsdsd<br><\/del><\/strong><strong><em><del>sdsds<\/del><\/em><\/strong><\/div>"},"attachment-customermessage-trixFields":{"content":"[]"},"content":"<h1>This is content<\/h1>"}

When I embed image old data not display

old data value when image embedded
{"_token":"lg8BfOjjTKVyCUhWhYNt0bKoXiYj6tJGBbVTFSig","customermessage-trixFields":{"content":"<div>Hello<br><figure data-trix-attachment=\"{&quot;contentType&quot;:&quot;image\/jpeg&quot;,&quot;filename&quot;:&quot;7.jpg&quot;,&quot;filesize&quot;:21453,&quot;height&quot;:362,&quot;href&quot;:&quot;https:\/\/signs-public.nyc3.digitaloceanspaces.com\/blog\/TuGTExajkQO6rslY8I9G1EAP9voLJx9iRuPX1HxQ.jpg&quot;,&quot;url&quot;:&quot;https:\/\/signs-public.nyc3.digitaloceanspaces.com\/blog\/TuGTExajkQO6rslY8I9G1EAP9voLJx9iRuPX1HxQ.jpg&quot;,&quot;width&quot;:612}\" data-trix-content-type=\"image\/jpeg\" data-trix-attributes=\"{&quot;presentation&quot;:&quot;gallery&quot;}\" class=\"attachment attachment--preview attachment--jpg\"><a href=\"https:\/\/signs-public.nyc3.digitaloceanspaces.com\/blog\/TuGTExajkQO6rslY8I9G1EAP9voLJx9iRuPX1HxQ.jpg\"><img src=\"https:\/\/signs-public.nyc3.digitaloceanspaces.com\/blog\/TuGTExajkQO6rslY8I9G1EAP9voLJx9iRuPX1HxQ.jpg\" width=\"612\" height=\"362\"><figcaption class=\"attachment__caption\"><span class=\"attachment__name\">7.jpg<\/span> <span class=\"attachment__size\">20.95 KB<\/span><\/figcaption><\/a><\/figure><\/div>"},"attachment-customermessage-trixFields":{"content":"[\"TuGTExajkQO6rslY8I9G1EAP9voLJx9iRuPX1HxQ.jpg\"]"}}

Seems like Issue in html code when image is embedded.
Can you guys help me ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant