smiling man with yellow background

Titan X Lab

smiling woman with glasses with blue background

A proper code editor for JS variables

Hello guys,

what about a better code editor for the creation/update of the JS variables in Titan Web? The present one is just a text area, not resizable.

There are plenty of embeddable code editors that check JS validity, permit indentation, are resizable, etc. It’s a real pain to work with JS variables with the present one.

Thanks!

Cheers

Adriano

Comments

Author’s gravatar
Nadav Gal
27 December 2022

Hi Adriano,
In the following places we changed from plain text box to editor:
1) Project Settings > Tools > Custom JavaScritps
2) Project Settings > Custom Variables > Custom JS
3) Execute JS node in Action Flow

Author’s gravatar
Adriano
28 December 2022

Thanks Nadav,
much better than the previous textarea. At leas we can use the tab for indentation. I’ve noticed that already created JS variables don’t benefit of the new editor. Why?

Author’s gravatar
Nadav Gal
28 December 2022

Indeed – from technical reasons we had to implement it only for new variables.

Author’s gravatar
Adriano
28 December 2022

Got it, thanks for having done that. Brilliant job!!!
cheers
Adriano