I can’t enter links. I only see the black overlay, no modal though. Anyone having the same issues as me ?
AI-generated summary
Aymane_Shuichi reported a bug where the link entry dialog fails to appear for Right-to-Left (RTL) languages, showing only a black overlay. simon confirmed this affects all RTL layouts, explaining that the modal’s position is hard-coded using inline styles that do not account for RTL mirroring. As a temporary workaround, Aymane_Shuichi requested the specific element to modify via jQuery. simon identified the selector as .rtl .d-editor .d-editor-modal.insert-link[style] and provided custom CSS to force the modal to center correctly by setting left: auto and right: 50px. Aymane_Shuichi confirmed the CSS fix resolved the issue. Finally, simon announced that the bug has been permanently fixed in the latest master branch.
It works fine with en locale
Yes that will be a problem for all RTL layouts.
The problem is that the left position of the insert-link modal is hard-coded into the html. Anytime left or right positioning is set with inline styles it will break for rtl layouts unless a check is made in the code to see if the current layout is rtl and the left/right values are flipped.
Sure, Can you give me the element that gets the inline property ? I’ll change it with Jquery from admin as a temporary solution
it is .rtl .d-editor .d-editor-modal.insert-link[style]
You can get in on the screen, but not centered, with this as custom css:
.rtl .d-editor .d-editor-modal.insert-link[style] {
left: auto !important;
right: 50px;
}
Fair enough. It works ! Thanks

