{"id":19003629,"date":"2026-08-26T13:42:41","date_gmt":"2026-08-26T13:42:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/editor-issues-when-embedding-files\/"},"modified":"2026-08-26T13:42:41","modified_gmt":"2026-08-26T13:42:41","slug":"editor-issues-when-embedding-files","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/editor-issues-when-embedding-files\/","title":{"rendered":"Editor issues when embedding files"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I use Shared Files and on some pages of my site I embed single files with either shortcode (example: [shared_files file_id=22464]) or just the Shared Files block. Recently I noticed that if single file is embedded and you edit the page, the error is returned when you want to save the changes. My WordPress admin is in Polish, but I believe that in English the error message would be something like: &#8220;Update failed. The response is not a valid JSON response&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Funnily, the changes seem to be saved either way. This only happens when Shared Files shortcode or block is used. When I remove those, page updates are saved without any issue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I think this is a bug introduced in one the newer versions, since I don&#8217;t remember this happening a couple of months back.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let me know if you need more information \ud83d\ude09<\/p>\n","protected":false},"template":"","class_list":["post-19003629","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19003629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19003629\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19003629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}