rr- / TRCustoms

A website dedicated to custom levels for classic Tomb Raider games.
https://trcustoms.org
10 stars 1 forks source link

Level and review colored text removal #399

Open Klona13 opened 6 days ago

Klona13 commented 6 days ago

Only in the "level form" or "review form". When any markdown coloring is detected in the text box, a warning appears in red underneath:

Walkthrough color markers will be removed from the text upon submission.

Upon submitting the "level form" or "review form", the following things are stripped from the text:

Colored text is fine in user profiles; I am anti-fun, but I don't wanna be THAT anti-fun. Some self-expression should be allowed in their own profile.

image

rr- commented 6 days ago

@Klona13 what if we just remove the buttons to use the colors? Having the warning appear interactively will be kind of difficult. Also if possible I'd like to keep the tags in the original text, just not color the final text.

Klona13 commented 6 days ago

Ok. let's proceed with your approach as it's more intuitive that way 👍

Places where colored text will not render:

rr- commented 5 days ago

@Klona13 It's now ready for testing.

Klona13 commented 3 days ago

@rr- It doesn't seem to work in the 3 places listed, the colored text can still be seen if someone formats it that way (without using buttons). Also when typing in a textbox with the removed coloring buttons, the preview window increases in size as you type.

rr- commented 3 days ago

@rr- It doesn't seem to work in the 3 places listed, the colored text can still be seen if someone formats it that way (without using buttons). Also when typing in a textbox with the removed coloring buttons, the preview window increases in size as you type.

@Klona13 did you make sure to do a hard refresh with ctrl-f5?

Klona13 commented 3 days ago

@rr- yes i tried that... this is also incognito mode image