Bug 1026158

Summary: Bug: XML elements should not be highlighted as the same colour as incorrect phrases
Product: [Community] PressGang CCMS Reporter: Misha H. Ali <mhusnain>
Component: Web-UIAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2CC: cbredesen, lnewson, mcaspers
Target Milestone: ---Keywords: Reopened
Target Release: 1.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-03 22:16:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
CCMS UI Editor highlights XML none

Description Misha H. Ali 2013-11-04 05:05:58 UTC
Created attachment 818882 [details]
CCMS UI Editor highlights XML

Description of problem:

Currently, the CCMS editor does not seem to recognize unfamiliar words within a pair of brackets (for example <itemizedlist>) as XML elements and to be ignored for spellchecks.

See screenshot for an example.

Comment 1 Lee Newson 2013-11-04 05:12:26 UTC
Purple highlighting doesn't refer to invalid syntax/words, it shows elements that have styling help from the ECS styling guide. The information for this can be displayed by right clicking on the highlighted element. Red and Yellow are the two colours that mean something is wrong (if I recall correctly).

See https://vimeo.com/71856372 for more information on the styling guide highlighting.

Comment 2 Lee Newson 2013-11-04 05:15:41 UTC
Reopening this as purple is actually used for invalid phrases sorry Misha, so either the invalid phrase or the styling guide colour should be changed.

Comment 3 Matthew Casperson 2013-11-25 04:31:32 UTC
Fixed in 201311251412

XML matches are now blue. The distinction is also now shown in the legend at the bottom of the screen.

This can be verified on the dev server.

Comment 4 Lee Newson 2013-11-25 04:43:21 UTC
Verified that the colour for style guide matches are now blue.