Hello!
I am trying to add a new line to the skill description box, but I can't seem to get it to work...
I am using the below function to do it. row[] is an array holding the different rows of the description.
This generates the desired string with the \n visible. But it doesn't work, and I then realized, and remembered that the description boxes are dumb and don't get their own simple logic. So is there any workaround for this?
I use WAY_TextEval as well, so I tried the following:
Doesn't work either...
Best regards,
Bishiba
I am trying to add a new line to the skill description box, but I can't seem to get it to work...
I am using the below function to do it. row[] is an array holding the different rows of the description.
Code:
skillDescription = "";
for ( r = 0; r <= row.length+1; r++) {
skillDescription += row[r] + "\\n" ;
}
This generates the desired string with the \n visible. But it doesn't work, and I then realized, and remembered that the description boxes are dumb and don't get their own simple logic. So is there any workaround for this?
I use WAY_TextEval as well, so I tried the following:
JavaScript:
string ="Line 1 \nLine 2";
$dataSkills[1106].description = "${string}";
Doesn't work either...
Best regards,
Bishiba