Skip Navigation

[Resolved] JS custom code on custom templates

This support ticket is created 4 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 3 voices.

Last updated by Luo Yang 4 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#1580511
screen.png

We found that in the new block editor of the content templates there is no more the box for inserting custom JS code but only custom CSS. How can we achieve that feature also in the block editor? In the normal editor it was possible to insert some custom JS code at the end of the content template as you see in the screenshot.
Thanks

Franco

#1580741
Bildschirmfoto 2020-04-10 um 15.10.37.png

In the Inspector on your right end of the screen when using Blocks Editor, when looking at the "Document" Tab.

I hope this helps

#1580753
screen2.png

Hi Beda, in the right part of the page I see only the custom CSS and not custom JS as you see inthe following screenshot

#1580799

Hello,

Thanks for the details, this is a known issue, there isn't JS editor when you edit content template with Block editor. And it is in our to-do list, will be fixed in next version of Toolset Blocks plugin 1.2.0, which is still under QA status, but I am not sure when will it be released.

#1607779

It is fixed in next version of Toolset Blocks 1.2, which is under QA status, will be release soon.

#1634085

This is fixed in latest version of Toolset Blocks plugin, you can download it here:
https://toolset.com/account/downloads/

Please test and feedback if it is fixed.