I can't enable syntax highlighting and script formating in my Developer Instance

harinalamalapu
Giga Expert

Script window is not displayed in my developer instance unless I "Click to disable Syntax highlighting and script formatting".   But when I disabled Syntax highlighting, the script displays as plain text without syntax highlighting. Attached a screenshot, can you please give some hints to fix it?

Script Error.png

When I disable it, the script field appears like below without syntax highlighting feature.

find_real_file.png

1 ACCEPTED SOLUTION

Hari,



I was able to log in, I impersonated the System Administrator user, and viewed the RiskUtils script include. I was able to view it, in Chrome, with the Sytnax Highlighting turned off as well as with it turned on.



I did not observe any JavaScript errors.



This might be unique to your browser. Which browser are you using (Chrome, IE, Firefox, Safari, etc)? What is the version number? And on which platform (Windows, OSX, Linux, etc)?



Also, when *you* reproduce the issue with syntax-highlighting turned on, do you have any Javascript errors in your console?


View solution in original post

12 REPLIES 12

Yes you have got such powers! Anyway, thats for your time.


preethika
Kilo Explorer

Hi,



I faced the same issue today.



I did a cache flush using cache.do and it worked!



Considering it is only development instance i think it is ok..


I am not sure if that is a good practice as i am new to SNow .



Thanks


Preethika


Bruno
Tera Expert

I'm having the same issue!
When I try to view the script field, it appears blank:

Bruno_0-1733843140291.png

 


When I disable the editor, I can see the script:

Bruno_1-1733843178397.png