Hello,

I need to include in the description of the element "radius" an iframe of YouTube, that is, that accepts an HTML format. See the picture.

Thank you

CommentFileSizeAuthor
html-editor.png140.32 KBguilhermevm

Comments

guilhermevm created an issue. See original summary.

jrockowitz’s picture

Status: Active » Closed (works as designed)

HTML is supported in the description. Adding the HTML editor to the option description is going to clutter the UI.

If you want to support an iframe you would have defined custom 'Allowed tags' tag via /admin/structure/webform/config/elements.

Supporting iframes via the UI is generally a bad idea because of the security implications. I recommend adding the iframe via a custom module and using hook_form_alter().