Hide Forgot
Description of problem: The conditional rendered in the CCMS UI works great but it is hard to locate the correct XML bit in densely conditioned topics. If there is a way to show only the condition agnostic + specific condition XML, it would be very useful.
We could "black out" elements that don't match the selected condition. See the attached screenshot for an example of what this might look like. Keep in mind that any visual clue to elements that don't match the current condition needs to work across multiple themes.
Created attachment 849008 [details] conditional elements in XML editor
I fixed a few bugs with the calculation of the character range of elements that whose condition excludes them, and also made changes to the selected spec cause the highlighting to change.
Verified that content that will be removed during conditional processing is blacked out. Tested with: - Global Conditions - Container Conditions - Topic Conditions - Various different XML elements