Skip to content

Dialog box is out of frame on source code Magento 2.4.7-p8 #903

Description

@lohoy

When we edit the source code of text field on slider component the dialog box is out of frame.

Preconditions (*)

Install Magento 2.4.7-p8.
Add code on tinymce config.

Steps to reproduce (*)

On backoffice create new page.
Add row component, slider component, edit text and click on source code.
The dialog box is out of frame.

Expected result (*)

The dialog box must in the frame.

Actual result (*)

The dialog box is out of frame.

The issue introduce only on Magento 2.4.7-p8.

See the file : https://github.com/magento/magento2-page-builder/blame/1.7.4-p8/app/code/Magento/PageBuilder/view/adminhtml/web/js/wysiwyg/tinymce.js

On line 173 we have :
var dialogContainer = document.querySelector("#" + _this2.elementId + " ~ .tox--aux");
But the right code is :
var dialogContainer = document.querySelector("#" + _this2.elementId + " ~ .tox-hugerte-aux");

Please create quality patch to this error please.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions