You can set a dictionary attribute on a TinyMCE field to allow the use of JavaScript in a URL.

Before you begin

Role required: personalize_dictionary or admin

Procedure

  1. Navigate to the form with an HTML field that uses TinyMCE.
  2. Right-click the HTML field label and select Configure dictionary.
    Configure dictionary
  3. In the Attributes field, enter tinymce_allow_script_urls=true, separated by a comma if needed.

    Dictionary entry attributes can only be added to when the dictionary entry form is in advanced view, as they are not shown in default view.

    Dictionary entry in Advanced view

    If other attributes are already listed, use a comma as a separator.

  4. Click Update.