[magnolia-dev] [JIRA] (MGNLUI-4227) br tags inserted into title during rename (on pressing return)

"JIRA (on behalf of Zachary Summers)" <jira-O8DnXSz/[email protected]> Wed, 21 Jun 2017 23:25:03 +0200 (CEST)
Newsgroups gmane.comp.cms.magnolia.devel
Message-ID <[email protected]>
Zachary Summers created an issue

Magnolia UI / https://jira.magnolia-cms.com/browse/MGNLUI-4227 MGNLUI-4227

br tags inserted into title during rename (on pressing return)

Issue Type:
Bug

Affects Versions:
5.5.4, 5.4.9

Assignee:
Unassigned

Attachments:
Screen Shot 2017-06-20 at 2.42.22 PM.png, Screen Shot 2017-06-20 at 2.42.35 PM.png

Components:
admincentral, page editor

Created:
21/Jun/17 11:22 PM

Environment:
OSX, multiple machines, multiple magnolia instances

Labels:
usability ux

Priority:
Neutral

Reporter:
Zachary Summers

When editing the page title in a multi-line text dialog, pressing return will insert a break character. When saved, this is translated into a <br/> tag. This seems like good behavior for multi-line text dialogs for the body section, but isn't great in the title or meta attributes.

To reproduce:

- log into magnolia author.

- add a new page, use any name, title, and template.

- save the page.

- highlight the page from tree view, and select rename from the right side interface.

- The Title section of the dialog should be multiline.

- select the Title section, and press return. A white space character should show up.

- save the edit.

- view the page outside of the magnolia frame.

- The title bar will contain <br/> tags. viewing the page's source will show the tags.

This issue also shows up on other multi-line dialog editors. When allowing clients to generate and maintain pages, they often hit enter and don't notice the whitespace character added.

When editing the title through edit page properties, as a single line dialog, the return characters are removed onBlur of the field.

https://jira.magnolia-cms.com/browse/MGNLUI-4227#add-comment
Add Comment

This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)

----------

----------------------------------------------------------------

For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html

Alternatively, use our forums: http://forum.magnolia-cms.com/

To unsubscribe, E-mail to: <[email protected]>

----------------------------------------------------------------
(unnamed) (image/png, 425 B) - not displayed
(unnamed) (image/gif, 98 B) - not displayed
(unnamed) (image/png, 1.1 KB) - not displayed
(unnamed) (image/png, 2.9 KB) - not displayed
(unnamed) (image/png, 1.1 KB) - not displayed