Code widget

  • 5 November 2021
  • 1 reply


 Hi Insided Community,


I was excited to use the code widget of the editor but so far I’m unable to make it work, or I’m afraid that’s what it is. Am I missing something or the code widget is just a grey background and red font ? What are the languages that work well ?

See below a few code examples:


const listaRealmTrovata = async () => {
await axios.get(APICALL1)
.then((realmUserAttivi) => {
.then((realmAttivi) => { => { => {
if ( !== {
setListaRealm(previousListRealm => [...previousListRealm, { value:, label: res.realmId }]);


fusedLocationProviderClient = LocationServices.getFusedLocationProviderClient(this)

locationManager = getSystemService(LOCATION_SERVICE) as LocationManager

val locationListener: LocationListener = this
LocationManager.GPS_PROVIDER, 2000, 0F, locationListener

CSS  (good)

#slides ::content img {
width: 25%;
float: left;

HTML (good)

<div class="inner">
<content select="img"></content>



Best answer by tom.shaddock 8 November 2021, 15:20

View original

1 reply

Userlevel 5
Badge +1

Hey @NathanR sorry to hear about these limitations with the code editor functionality that you’ve been running into - yep it looks like the colour rendering for both Java + Javascript could certainly be improved. Unfortunately I was not able to get a better result that the one you got despite best efforts to.

I was wondering if you could submit this to the board for consideration? I’ve already notified the correct the product team internally regarding the current colour limitation too, perhaps we can think about this when making the next changes to the text editor. Hope that’s ok! :slight_smile: