What module can I use to embed a script in an iframe?

The Rich Text Common Module is the best option for adding an iframe, but it can be added to any module with a rich text editor in the layout

First, add the Rich Text module to a section on the page:

rich-text-common-module-hubspot-drag-and-drop-section

You can open the rich text editor in expanded view or access the toolbar directly at the top of the page.

From the toolbar, click Insert, then Embed:

rich-text-insert-embed

In the pop-up window, add your Embed URL or Script:

insert-embed-url-embed-code

Depending on the type of embed, the content in the rich text module may not be visible in preview mode and is only visible when viewing the preview link in a new window or on the live page.