magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

CMS blocks and pages content edited with Page Builder adding extra html DIVS causing style issues #29320 #32941

Closed manish-sp closed 3 years ago

manish-sp commented 3 years ago

Preconditions (*)

  1. Magento 2 EE 2.4.1

Steps to reproduce (*)

1.Edit CMS block or page with Page Builder

  1. Save CMS block or page.

Expected result (*)

  1. Content should be saved without extra divs around CMS content

Actual result (*)

  1. Content is saving successfully but some extra divs are automatically adding around content as you are seeing below.
  2. <div data-content-type="row" data-appearance="contained" data-element="main"><div data-enable-parallax="0" data-parallax-speed="0.5" data-background-images="{}" data-background-type="image" data-video-loop="true" data-video-play-only-visible="true" data-video-lazy-load="true" data-video-fallback-src="" data-element="inner" style="justify-content: flex-start; display: flex; flex-direction: column; background-position: left top; background-size: cover; background-repeat: no-repeat; background-attachment: scroll; border-style: none; border-width: 1px; border-radius: 0px; margin: 0px 0px 10px; padding: 10px;"><div data-content-type="html" data-appearance="default" data-element="main" style="border-style: none; border-width: 1px; border-radius: 0px; margin: 0px; padding: 0px;" data-decoded="true">
  3. This leads to the CSS Styling issue. Should be an option to add or not add above divs.

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

m2-assistant[bot] commented 3 years ago

Hi @manish-sp. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

manish-sp commented 3 years ago

@magento-engcom-team Same issue exists here https://github.com/magento/magento2/issues/29320 this issue has been closed without fix.

mrtuvn commented 3 years ago

@manish-sp re-opened issue. So i will close this

artttj commented 3 years ago

@manish-sp @mrtuvn

What is the status of https://github.com/magento/magento2/issues/29320?