- Issue created by @jwilson3
That's a good shout.
I think given the way it currently works, we should move away from using a text editor for this, and just have a plain text area with the required markup similar to how Drupal core handles user registration email templates.
- 🇪🇨Ecuador jwilson3
Completely agree with @codebymikey in #3. There is little benefit to using a wysiwyg formatter here, especially since CKEditor 5 is known to modify HTML it believes to be "incorrect" (even when it is not technically incorrect). CKEditor 5 won't check validity of Twig, only HTML validity and structure, so at best CKE is a partial solution to the equation anyway. The onus should be on a developer to ensure proper HTML structure (eg properly nested and closed tags, etc) just like everywhere else.
Updated issue summary with Proposed Solution.
- 🇮🇹Italy kopeboy Milan
When I try to save an Address format from the manage display page, I get redirected to a weird blank page.
When I edit it from /admin/config/address-formatter is fine though..So it could be that this is caused by CKEditor, but I'm not sure.
For sure adding a plain text option wouldn't hurt.