gocodebox / lifterlms-blocks

WordPress Editor (Gutenberg) blocks for LifterLMS.
3 stars 12 forks source link

"Launch Course Builder" doesn't appear with Kadence Blocks plugin #238

Open brianhogg opened 4 days ago

brianhogg commented 4 days ago

Reproduction Steps

  1. Install just LifterLMS and the Kadence Blocks plugin (if Elementor is installed the bug doesn't happen)
  2. Add a new course

Expected Behavior

The "Launch Course Builder" button appears at the top.

Actual Behavior

The button flashes on and off when hovering over areas of the editor.

https://github.com/user-attachments/assets/707f697c-ce77-48cb-b9ed-d949accc61ea

This issue has be recreated:

brianhogg commented 4 days ago

Kadence Blocks adds their button as a div in the div with classes editor-document-tools edit-post-header-toolbar rather than within the div with class editor-document-tools__left. This might be a more reliable spot for it.

brianhogg commented 4 days ago

It does appear and stays when Elementor is installed. Not sure if Elementor is adding some JS or if Kadence sees Elementor is there and doesn't modify the edit-post-header-toolbar div.