elegantthemes / Divi-Beta

8 stars 0 forks source link

Can not able to use divi library layout as widgets in block editor #108

Open MTaimoor79 opened 3 weeks ago

MTaimoor79 commented 3 weeks ago

Problem Description

  1. Describe what you did Please provide a clear and concise description of what the bug is.

  2. Describe what you expected to happen 1) In a placeholder-editor.css do not hide the divi library layout. 2) Can successfully open tab "Your Saved Layouts" and can also select/add divi library layouts

  3. Describe what actually happened When I extend the WP_Widget class to add divi library layouts as widgets in the block editor then there are two issues in D5 Public Alpha 2 1) In a placeholder-editor.css hide the divi library layout. 2) Get an Error when clicking "Your Saved Layouts" to view divi library layouts. The issue is in the gutenberg.js file.

Detailed Steps To Reproduce

When I extend the WP_Widget class to add divi library layouts as widgets in the block editor then there are two issues in D5 Public Alpha 2 1) In a placeholder-editor.css hide the divi library layout. 2) Get an Error when clicking "Your Saved Layouts" to view divi library layouts. The issue is in the gutenberg.js file.

Related Links or Information

1) https://help.elegantthemes.com/en/articles/3624717-the-divi-layout-block

If applicable, please provide links to any related issues, PRs, discord discussions, or other information.

Screenshots and/or Video

https://github.com/user-attachments/assets/e5163c35-a59d-44dd-9146-b892c1e82f5f image image

System Information

MTaimoor79 commented 3 weeks ago

I think this remains to be updated because the popup design is still the same as in Divi 4.

image

Also get an error when trying to build the new layout.

image

image

image

image