[UI] Node details page hostname contenteditable doesn't discard fonts

Bug #1648293 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
High
Unassigned

Bug Description

When an user needs to copy and paste configurations from a document, the content needs to be pasted to a text editor to remove the font format first.
It does not make sense to keep font settings in inputboxes.

Test case:
1. Open a Google spreadsheet or LibreOfice, type something and change its font size, color and etc. Copy the colorful text that you just entered.
2. Go to MaaS Node page, try to change the name of a node, paste what you just copied into the inputbox.
* You will see it's still keeping the font setting there.

MAAS Version 2.1.1+bzr5544-0ubuntu1 (16.04.1)

Tags: ui
Revision history for this message
Blake Rouse (blake-rouse) wrote :

That field uses a contenteditable on a span. We need to figure our how to remove that formatting. A standard input field will remove the formatting.

Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.2.0
tags: added: ui
summary: - The inputbox should discard font settings
+ [UI] Node details page hostname contenteditable should discard fonts
summary: - [UI] Node details page hostname contenteditable should discard fonts
+ [UI] Node details page hostname contenteditable doesn't discard fonts
Changed in maas:
milestone: 2.2.0 → 2.2.x
Changed in maas:
milestone: 2.2.x → next
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi!

**This is an automated message**

We believe this is may no longer be an issue in the latest MAAS release. Due to the original date of the bug report, we are currently marking it as Invalid. If you believe this bug report still valid against the latest release of MAAS, or if you are still interested in this, please re-open this bug report.

Thanks

Changed in maas:
milestone: next → none
status: Triaged → Invalid
milestone: none → next
Changed in maas:
milestone: next → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.