mirasvit / module-blog

Magento 2 Blog Extension
https://mirasvit.com/magento-2-extensions/blog.html
Open Software License 3.0
68 stars 48 forks source link

Options button on page builder not working in admin #161

Open tokobaku opened 5 years ago

tokobaku commented 5 years ago

Problem: When you try to click on options button (gear icon) it does nothing.

Expected outcome: There should be a popup where you can configure different options.

I'm using fresh installation of module.

ghost commented 5 years ago

@tokobaku You can fix this by adding the following code to view/adminhtml/layout/blog_post_edit.xml via composer patch, or other appropriate means.

<referenceContainer name="before.body.end">
    <uiComponent name="pagebuilder_modal_form" />
</referenceContainer>

WARNING: This will break if PageBuilder is not installed/enabled as the pagebuilder_modal_form component will not exist.

For a real fix, the layout should only include this UI Component if pagebuilder exists.

tokobaku commented 5 years ago

@rob-aimes Thanks it worked! I'll close the issue

ghost commented 5 years ago

@tokobaku It's still an issue with the module so I'd leave it open, I'm just providing a workaround.