Bug 1026158 - Bug: XML elements should not be highlighted as the same colour as incorrect phrases
Summary: Bug: XML elements should not be highlighted as the same colour as incorrect p...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.3
Assignee: Matthew Casperson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-04 05:05 UTC by Misha H. Ali
Modified: 2014-08-04 22:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-03 22:16:29 UTC
Embargoed:


Attachments (Terms of Use)
CCMS UI Editor highlights XML (14.98 KB, image/png)
2013-11-04 05:05 UTC, Misha H. Ali
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.