Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Preview does not work when you have a lot of contents #477

Open
rohan2388 opened this issue Nov 18, 2019 · 2 comments
Open

Preview does not work when you have a lot of contents #477

rohan2388 opened this issue Nov 18, 2019 · 2 comments

Comments

@rohan2388
Copy link
Contributor

rohan2388 commented Nov 18, 2019

So the issue is if I add a lot of contents (multiple textarea with multiple paragraphs) in a block, the preview stops working. I get the following error in console:
GET http://attacq.local/wp-json/wp/v2/block-renderer/block-la... 414 (Request-URI Too Long)

So is there a way to fix this?

@kienstra
Copy link
Collaborator

Hi @rohan2388,
Thanks for bringing this up.

It looks to be the same issue as #436 (comment), though it would have been hard to know that by searching.

Unfortunately, there isn't an easy way to fix this. The GET request limit is set by the server, I think.

As mentioned in WordPress/gutenberg#16396 (comment), changing this to use a POST request would require a patch to WP Core and a PR to Gutenberg. I don't think it'll happen soon.

@kienstra
Copy link
Collaborator

kienstra commented Apr 4, 2020

Hi @rohan2388,
Sorry it's been so long. But would you be able to test this fix for the issue?

#524 (comment)

Thanks, and have a great weekend.

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

Successfully merging a pull request may close this issue.

2 participants