Opened 9 years ago
Last modified 9 years ago
#13898 confirmed Bug
Make ACF more robust, and document it better — at Version 1
Reported by: | Wim Leers | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Drupal | Cc: | wim.leers@… |
Description (last modified by )
https://www.drupal.org/node/2585173 and https://www.drupal.org/node/2598070 show quite severe DX (Developer Experience) problems with CKEditor's ACF (allowedContent
+ requiredContent
).
Some things are subtly broken (#13886).
Some things that you'd reasonably expect to accept data in the same format in fact do not accept data in said format (see https://www.drupal.org/node/2585173#comment-10456981: requiredContent
does not accept the object format, unlike allowedContent
).
Making it more robust by throwing exceptions if the provided data does not comply with one of the known formats would improve DX significantly.
Related: #13886