I tried using .html in both places as shown below. However, it didn’t work.
$w('#text65').html = $w('#text65').html.replace(new RegExp("carbon", "gi"), (match) => '<mark>${match}</mark>');
I tried using .html in both places as shown below. However, it didn’t work.
$w('#text65').html = $w('#text65').html.replace(new RegExp("carbon", "gi"), (match) => '<mark>${match}</mark>');