I tried it, and it didn’t work.
On second thought, I want to change the way I apply this code to the links. I want the code to modify the text once it’s displayed in the page, not upon submission.
So basically, I want the code to “read”/“scan” the said text, and replace the color if it contains a link.
I tried this :
$w("#dynamicDataset").onReady(() => {
$w("#repeater2").onItemReady(() => {
$w("#text88").text.replace(/<a/g, `<a style="color:#006bd7; text-decoration: underline;"`);
// [...]
but it didn’t work (I did not get any error mind you.)
Here is an example to illustrate my idea :
In the description, you can see that the word “Auchan” contains a link (that’s the default style from the database), well I want it to be in this one blue color, and also to open in a new tab (which is not the case with the default setting provided by the Wix Database)