[MGNLUI-5285] New framework: cannot type new lines in code field Created: 16/Jul/19  Updated: 25/Oct/19  Resolved: 05/Sep/19

Status: Closed
Project: Magnolia UI
Component/s: app
Affects Version/s: 6.1
Fix Version/s: 6.2

Type: Bug Priority: Neutral
Reporter: Antti Hietala Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 1h
Time Spent: 28m
Original Estimate: Not Specified
Environment:

+ 6.2-SNAPSHOT
+ Doesn't happen in 6.1


Issue Links:
Cloners
clones MGNLUI-5182 Cannot type new lines in Resources app Closed
Relates
relates to MGNLRES-331 Migrate Resource Files app to new fra... Closed
duplicate
duplicates MGNLRES-328 Enter key doesn't work in edit mode o... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: M6 UI & UX Improvements
Story Points: 0.5

 Description   

Regression: You cannot enter new lines when editing a resource file. This prevents you from hot-fixing resources in the Resources app. The code field does not add a line when you press enter.

To reproduce:

  1. Open the Resources app.
  2. Edit any YAML file such as /travel-demo/dialogs/components/textImage.yaml
  3. Try to enter new lines in the middle of the file.

Workaround 1:
Copy the file contents to an external text editor, make your changes, and paste back into the code field.

Workaround 2:
Press SHIFT + ENTER


Generated at Mon Feb 12 09:25:01 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.