Can I add JavaScript or PHP code in WYSIWYG?

Is JavaScript or PHP icon status on the top right of WYSIWYG toolbar enable?

If the icon status enables, it should work on Preview or Publish web site. Be noticed that after adding the JS or PHP in the HTML view in step5 WYSIWYG, save data, and reopen it again. The code will be converted to comment. To test it, you need to click Preview to see it in action.

If the JavaScript icon status is disables, you need to ask your provider to allow so. Your provider needs to go to root WHM >> RVSiteBuilder Manager >> System Configuration. Under WYSIWYG options, enable them.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to change the website to 100% width?

In step3, in the 'Position and Resolution' block, you can change the resolution to 100%, 95%,...

I got message "Oops!". How do I fix it?

You need to contact support to SSH to server as root and run /scripts/makecpphp.

How to create privacy website?

You need to publish the website to the folder. In step7, enter the folder on the text box. So...

How to correctly copy data from MS Word and paste into WYSIWYG

When text is pasted from Microsoft Word a lot of unnecessary word specific markups are carried...

Publish page but website still show the old one

I believe that it is browser cache. Please hold CTRL and press F5 button in the same time to...