Hello everyone. I pumped into specific problem, i have a xml markup in my redactor, and i have two types of tags inside in lowercase and uppercase. I need to change highlighting them in different color, because of properties i cann’t just use regex expression. Can someone suggest a good way to solve this issue?
You could set up an extension that produces the appropriate decorations by iterating the syntax tree whenever that changes, and for each tag name, checking its name in the document, and applying the appropriate style.
1 Like
It worked, thank you