Using with Webform's Custom HTML Markup?

Created on 13 July 2024, 5 months ago
Updated 7 August 2024, 4 months ago

I have enabled this module successfully to use on different Text Formats (e.g. Basic HTML, etc), which is great, thank you.

However, regarding the Webform module, it evidently uses its own custom HTML markup format β†’ for form element descriptions. Would love to also obfuscate any emails that might appear in those descriptions. This special webform text format doesn't appear on admin/config/content/formats to be able to add Obfuscate Email processing to it... the field does offer its own twig template webform-html-editor-markup.html.twig which does provide a way to do a HOOK_preprocess_webform_html_editor_markup to get at the render array... I thought to try to apply Obfuscate Email's processing there via PHP or trigger the render array to also use Obfuscate Email's processing routine, but not quite sure how...

Looking forward to any tips on how to have Obfuscate Email process bodies of text like this.

πŸ’¬ Support request
Status

Active

Version

2.1

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States fizcs3 Omaha, Nebraska; USA

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

Comments & Activities

Production build 0.71.5 2024