[MGNLUI-6061] Rich text field - images from DAM Created: 21/Jul/20  Updated: 18/Jan/21  Resolved: 20/Aug/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.1
Fix Version/s: 6.2.3

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: 1h 10m
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MGNLDAM-869 Rich text field - images from DAM Closed
Git Code Review
git code review opened MGNLUI-6143 RichTextField: use new chooser dialog... Closed
Problem/Incident
Relates
relates to MGNLUI-6087 CKeditor colors, alignment, fonts and... Closed
causality
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
Release notes required:
Yes
Date of First Response:
Epic Link: Support
Sprint: Maintenance 19, Maintenance 20, Maintenance 21
Story Points: 8

 Description   

Rich text doesn't show the button to select an image from the server 

Steps to reproduce

  1. Go to Web resources app and edit the Text and Image component dialog (/mtk/dialogs/components/textImage.yaml). Add to the RichText field the snippet
    configJsFile: /.resources/ckeditor/config-magnolia.js
    
  1. Still in Resources app, open for editing the file /ckeditor/config-magnolia.js
    definition = {
      alignment: false,
      images: true,
      lists: true,
      source: false,
      tables: true,
      colors: null,
      fonts: null,
      fontSizes: null
    }
    
  1. Move to Pages app, and create a Text and Image component
  2. Clic on the Image icon and check no button for selecting an image is show.

Expected results
On the step 4, a button is shown to show the available images on the server

Actual results
No button is shown so no image can be selected

Workaround
N/A

Development notes
Tho it's possible to show the button overriding the CSS styles, it still doesn't work. Clicking on  it doesn't perform any actions.


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