If ever written a php under custom code the php code itself shows as text on the GUI of the BS Studio thus making the GUI cluttered with unnecessary texts especially if you have long PHP code.
Instead of showing it as a text maybe its possible to replace it as a wrapper such shown as [PHP Code]
From this:
To this:
Just an idea, hope this works.
2 Likes
If you give your php code a class name for example phpCode then you can add this in JSfile
if (document.doctype.name == 'html'){
let x = document.getElementsByClassName("phpCode");
for (var i = 0; i < x.length; i++) {
x[i].value = 'php[CODE]';
x[i].innerHTML = 'php[CODE]';
};
};
when you are finish before you export, use the find and replace and delete the class phpCode