Make sending plugin settings over POST method

Created on 21 February 2024, 4 months ago

When I create my own module to create plugin and I use texture field and put there long text, I get this error:

Failed to load resource: the server responded with a status of 414 (Request-URI Too Long)

It happens because when you edit block, ckeditor opens dialog and the module send config over URL query. To solve it, we need to find a way to move settings to POST params.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine lobodacyril

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @lobodacyril
  • πŸ‡ΊπŸ‡¦Ukraine lobodacyril

    This patch solves the problem but I'm not sure that this way can be officially used.

  • πŸ‡ΊπŸ‡ΈUnited States joelraed

    I'm getting the 414 as well but this patch doesn't apply to version 1.0.1, and when i move to the dev version a bunch of stuff breaks for me. What method did you use to do the conversion so I can attempt on the 1.0.1 version? I also noticed embeddedContent.js is a build so adjusting that file is a bit of a pain.

Production build 0.69.0 2024