Syntax highlighting not working after upgrade to Next Experience

Nicolae-Georgia
Tera Contributor

Hi all,

After turning on the Next Experience on our DEV instance, whatever I do I can't make syntax highlighting work.
Tried both Safari and Chrome, no change.
Do you have any ideas to fix this? 

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Noticed the same on an upgrade yesterday also. Haven't tried yet, though saw this posted before:

 

The issue seems to be addressed in PRB1645468: Code editor / Syntax editor is not loading correctly when Polaris is enabled

 

The fix target is Utah patch 4

Please try the following workaround:

1. Add the system property 'glide.ui.syntax_editor.polaris' and set its value to 'false'.
2. Clear the instance cache [cache.do]

OR

Set the value of the system property "glide.ui.escape_all_script" to 'true'.

 

https://www.servicenow.com/community/developer-forum/only-one-syntax-editor-macro-usable-per-editor/...

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

1 REPLY 1

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Noticed the same on an upgrade yesterday also. Haven't tried yet, though saw this posted before:

 

The issue seems to be addressed in PRB1645468: Code editor / Syntax editor is not loading correctly when Polaris is enabled

 

The fix target is Utah patch 4

Please try the following workaround:

1. Add the system property 'glide.ui.syntax_editor.polaris' and set its value to 'false'.
2. Clear the instance cache [cache.do]

OR

Set the value of the system property "glide.ui.escape_all_script" to 'true'.

 

https://www.servicenow.com/community/developer-forum/only-one-syntax-editor-macro-usable-per-editor/...

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn