Skip Navigation

[Resolved] Split: Elementor content not editable when Blocks plugin is active

This support ticket is created 3 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 5 replies, has 2 voices.

Last updated by michaelB-35 3 years, 11 months ago.

Assisted by: Waqar.

Author
Posts
#1949625

The reason that it is deactivated is because I can't build pages using Elementor Pro, Astra Pro and Toolset Blocks at the same time. There is some conflict when all three are activated. Either I have to use a different theme, or deactivate Elementor or deactivate Toolset Blocks. So for now I have to deactivate Blocks.

I don't know when you will be entering the site to see my issue. You are welcome to activate it to run the tests that you need to run. While you're in there and have all three activated, please add a new page under pages and try to build the page with Elementor. You will see you can't add anything.

Thanks!

#1950837

Hi,

I've performed some testing on my website with Elementor and Astra theme, but couldn't reproduce this issue.

This suggests that something specific to your website is involved. Do I have your permission to download a clone/snapshot of your website?
( ref: https://toolset.com/faq/provide-supporters-copy-site/ )

This will allow me to investigate this on a test server, without affecting the actual website.

regards,
Waqar

#1952089

You bet! That is fine. The problem that I'm having is when Blocks, Elementor Pro and Astra Pro are all active, I go to edit a page using Elementor. All I see is the header and footer that I have created in Astra. I cannot add any items in Elementor. When I change a theme and edit that same page, I can edit the page. If I deactivate Blocks, I can edit the page. But when all three are activated, it just doesn't allow me to edit. Thanks for looking into this.

#1957587

Thank you for the permission and I can see the same issue on your website's clone on my server too.

I couldn't reproduce this on a fresh install with the same theme, plugins, and settings, which is why I've shared the report with the concerned team for further investigation. I'll keep you updated through this ticket.

#1958499

Thank you for waiting.

In the further investigation, it turned out that the conflict was caused by using the content template shortcode [wpv-post-body view_template="submenu-desktop"] in the navigation menu item.

Elementor's preview screen seems to mix that up with the default content area and it is not shown.

As a workaround, you can register a custom shortcode, which only shows that content template's output when the page is not being viewed inside the Elementor's Preview screen.

Example:


add_shortcode('custom_shortcode_submenu_desktop', 'custom_shortcode_submenu_desktop_func');
function custom_shortcode_submenu_desktop_func() {
	// if not the Elementor preview mode
	if ( !(\Elementor\Plugin::$instance->preview->is_preview_mode()) ) {
		ob_start();
		echo do_shortcode('[wpv-post-body view_template="submenu-desktop"]');
		return ob_get_clean();
	}
}

The above code snippet can be included through either Toolset's custom code feature ( ref: https://toolset.com/documentation/adding-custom-code/using-toolset-to-add-custom-code/ ) or through the active theme's "functions.php" file.

After that, you can replace the content template shortcode in the menu item's content with this new shortcode:


[custom_shortcode_submenu_desktop]

#1958749

My issue is resolved now. Thank you!