A rich text editor in a custom Drupal form, example code including data sanitization for security (

I needed to implement a rich text editor in a custom form (for the Drupal intranet distribution OpenLucius). I couldn’t find a complete working solution right away, but I figured it out.

This post was created with our nice and easy submission form. Create your post!

What do you think?


Leave a Reply



Elementor 3.0 Allows Users to Create a Personalized Design System (

How to add a contact form using the block editor with WPForms Lite (