When using the Context UI inline editor, a block of text is displayed on the page above the overlay panel that says "Now Editing", and the label of the context currently being edited.
The problem is the code keys off of the CSS class .label
, which is used for both the name of the context, and it's description. This causes the "Now Editing" text to be concatenated with label and description, when it really should just be the context name.
Therefore instead of something like this (with no space between the two, and a long display of text):
Now Editing: SitewideThe sitewide context is used to add blocks for display anywhere in the site.
We can make a simple adjustment to the code so it renders like this:
Now Editing: Sitewide
Please review the attached patch, thanks.
Comment | File | Size | Author |
---|---|---|---|
context-fix_now_editing_text-1.patch | 956 bytes | ron_s | |
Comments
Comment #2
hmendes CreditAttribution: hmendes at CI&T commentedTested, changing to RTBC.
Comment #4
paulocsFixed
Comment #5
paulocsComment #7
DamienMcKenna