umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.41k stars 2.66k forks source link

RTE styles bleeds into rest of backoffice when using inline mode #16954

Open skttl opened 3 weeks ago

skttl commented 3 weeks ago

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

13.4.1

Bug summary

When setting a rich text editor to inline mode, and adding a stylesheet. The stylesheet bleeds into the rest of the backoffice.

Specifics

Happens in the content editor, either the "full" one or in dialogs for block list items.

Steps to reproduce

Create a stylesheet with the following content:

        .umb-tab-button {
            color:red !important;
            font-family:serif;
        }

Add a rich text editor to a document type, and configure it to use the stylesheet, and set the mode to inline: image

Open up a node containing that rich text editor. Notice how the tabs change appearance: image

Expected result / actual result

Expected the stylesheet to be contained inside the rich text editor and not bleed out into the rest of the backoffice.

github-actions[bot] commented 3 weeks ago

Hi there @skttl!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:

NguyenThuyLan commented 4 days ago

Thank @skttl for reporting issue. I can reproduce on v13.5