Skip to content

Aligning embedded video in RTE #11837

Open
@BrionyMcKenz

Description

@BrionyMcKenz

Which exact Umbraco version are you using? For example: 9.0.1 - don't just write v9

8.17.1

Bug summary

Content editors cannot align embedded videos in the RTE.

Specifics

Embedding a video in the RTE wraps it in a div with the "mceNonEditable" class. This means users can't center-align the video.
I can see in the umbraco.services.js file there's a comment just above where this is done saying:
// Wrap HTML preview content here in a DIV with non-editable class of .mceNonEditable
// This turns it into a selectable/cutable block to move about

Steps to reproduce

  • Embed video in RTE
  • Click on video
  • Click on "Align center" button
  • Nothing happens :(

Expected result / actual result

I expect to be able to use the "Align center" button to center the video in the RTE.
Because the "mceNonEditable" class has been added, I am not able to center the video.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions