Can't get the entity embed to work on my Drupal 8 site.

Module has been configured properly and I have even added custom embed button.

The problem I am having is that when I click the embed button on the editor I type a search phase. Suggested articles come up but they all are grayed out, (almost blacked out) and underneath the popup window. If I use the keyboard buttons I can select the title but still if I hit embed nothing happens.

I get taken to a page that has nothing but the entity embed search box. The same problem. Clicking on embed does nothing. I have tried left , center align but that doesn't make a difference.

Comments

tepelena created an issue. See original summary.

tepelena’s picture

Issue summary: View changes
marcoscano’s picture

Issue tags: +D8Media

Do you have any errors on the browser console or in the database logs?

Could you please provide more information on how your button is configured? (either a snapshot of the config, or ideally an export of the configuration [to do this, go to /admin/config/development/configuration/single/export and generate an export of the button]).

Also, are you using a particular theme? There have been some reports in the past of issues when integrating with some bootstrap-based themes, not sure if this could be your case

tepelena’s picture

Thanks for the reply. I can provide that info.

I am using bootstrap 3 theme. Will try a different theme just to eliminate that possibility.

tepelena’s picture

There seems to be an issue with the Bootsrap 3 theme.

For now I switched the admin theme to a non bootstrap one. The front end theme is still bootsrap. Working ok. I hope in the future this gets sorted out.

Keep up the good work. Great module.

CTaPByK’s picture

Yes i checked this with bootstrap 3 theme and find very similar problems. With standard themes, coming with drupal installation, everything is working as usual.

slashrsm’s picture

Project: Entity Embed » Bootstrap
Version: 8.x-1.0-alpha3 » 8.x-4.x-dev
markhalliwell’s picture

Project: Bootstrap » Bootstrap Admin
Version: 8.x-4.x-dev » 8.x-3.x-dev
milesw’s picture

Bootstrap overrides the core dialog JS and that's what's breaking Entity Embed. Related issue here: #2826277: Rework/update dialog JavaScripts.

markhalliwell’s picture

Status: Active » Closed (duplicate)
Related issues: +#2831237: Bootstrap modal does not work well with jQuery UI dialog