Skip to content

Gutenberg blocks .alignleft .alignright broken by Elementor #11906

@borayeris

Description

@borayeris

Prerequisites

  • [ x ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • [ x ] The issue still exists against the latest stable version of Elementor.

Description

The following line of code clashes with WP's default align styles, as referenced in Elementor Hello theme:
.elementor .elementor-widget:not(.elementor-widget-text-editor) figure {
margin: 0; }

Steps to reproduce

Open a post and add an image. Align it left. Write a long paragraph to wrap it. There is no margin between the image and the text.

Isolating the problem

  • [ x ] This bug happens with only Elementor plugin active (and Elementor Pro).
  • [ x ] This bug happens with a default WordPress theme active.
  • [ x ] I can reproduce this bug consistently using the steps above.

Environment

System Info ``` ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibility/3rd-partyIndicates a compatibility problem with a 3rd-party plugin or theme.status/mergedIndicates when a Pull Request has been merged to a Release.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions