• Resolved Earl_D

    (@earl_d)


    what is the best way to paste JavaScript or iframe into page when using block editor?

Viewing 3 replies - 1 through 3 (of 3 total)
  • HI @earl_d

    You can simply use Custom HTML block to add JavaScript or iFrame.

    • Add a Custom HTML block to your page.
    • Paste your JavaScript or iframe code into the block.
    • Click “Preview” to ensure it displays as expected.

    Best regards,
    Muhibul

    Thread Starter Earl_D

    (@earl_d)

    thanks that is what I ended up doing.

    I also use this way to add custom codes. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Best block for JavaScript or iframe’ is closed to new replies.