Hi,

we (@UEBERBIT) use similar module in our current project. I merged our CKEditor Integration with entity embed. The code is in my GitHub Repo https://github.com/webflo/entity_embed (branch: ckeditor-plugins). Its possible to embed Media Entity with CKEditor.

Checkout the branch, import the view. Enable the "Drupal Media" Button (M) in your CKEditor configuration. I will post a screencast soonish ...

Comments

dave reid’s picture

We're actually going to be using https://drupal.org/project/entity_browser for entity_embed for browsing entities. We would like the basic CKEditor integration to look something like the following: https://drupal.mybalsamiq.com/projects/media/Entity%20Embed%20Basic%20Modal

cs_shadow’s picture

@webflo, I was trying to use this module but I couldn't understand what view needs to be imported here, that you mentioned?

webflo’s picture

dave reid’s picture

@webflo: I think we'd probably want you to help out with https://drupal.org/project/entity_browser which seems like it would be a better place to start looking to merge your code that you have.

dave reid’s picture

It might also be good to separate this into a two-step process of select entity and then embed the entity with options, so that Entity Browser could more easily inject itself into the first part. Revised mockups: https://drupal.mybalsamiq.com/projects/media/Entity%20Embed%20Basic%20En...

Step one:

Step two

cs_shadow’s picture

Status: Active » Fixed

Closing this since now we have a basic CKEditor Integration along with preview. Can open separate follow-ups if required.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.