[MGNLUI-6453] Rich Text Editor Toolbar Items With Dropdowns Do Not Work On Old Pages App Created: 09/Dec/20  Updated: 02/Mar/23

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Julian Nodarse Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
duplicate
is duplicated by MAGNOLIA-7437 Dropdown options in Richtext editor (... 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: Old framework
Team: Nucleus

 Description   

Steps to reproduce

  1.  Create a page with a dialog containing a rich text field
  2.  Open Resources App. Create a file containing Javascript for a custom rich text field. You can copy the default JS found in config-magnolia.js
  3.  Include some item that requires a dropdown on the toolbar. Example : you can add "Format" to the list within the JS:
    { name: "styles",        items: [ "Font", "FontSize", "TextColor" ] },
  1. Enable the old pages app by removing the "pages" node from ui-admincentral/config/appLauncherLayout/hiddenApps
  2. Edit the page with the rich text field and try to click on a dropdown from the toolbar within the field

Expected results

 You can click on the dropdown and see its options

Actual results

Nothing happens when you click on the dropdown

 

Development notes

This is reproduceable on the demo. This is happening for the old version of the Pages App. Strangely enough, if you put an incorrect path to the JS, the page seems to default to another config.js and the dropdowns work for that default file it brings up. But not the custom one. 


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