Skip to content

Heading separator inside repeater #6851

@wayheming

Description

@wayheming

Prerequisites

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

Description

Hello, I noticed that the control Heading and its parameter separator does not work inside Repeater. This is caused by this css. Is this a bug or is it intended?
http://prntscr.com/mb2s98
http://prntscr.com/mb2u1p
elementor\assets\css\editor.css

Steps to reproduce

$repeater = new Repeater();

		$repeater->add_control(
			'heading',
			[
				'label'     => esc_html__( 'heading', 'theme' ),
				'type'      => Controls_Manager::HEADING,
				'separator' => 'before',
			]
		);

		$this->add_control(
			'repeater',
			[
				'type'   => Controls_Manager::REPEATER,
				'fields' => array_values( $repeater->get_controls() ),
			]
		);

Isolating the problem

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

Environment

System Info ``` ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    request/enhancementIndicates an Enhancement Request for an existing feature.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