BUEditor Media Integration

Component ID

1877606

Component name

BUEditor Media Integration

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This simple module adds code to allow a Media button to be added to the BUEditor.

Currently it just loads the relevant JavaScript libraries on hook_form_alter to allow a custom button to be added to BUEditor.

To get this to work, activate this module then go to admin/config/content/bueditor and edit your chosen editor profile. Add a button (or edit the existing image button) to use the following code
js: Drupal.media.BUE.insertMedia(E);");

That's all there is to it. Once this is added that button will open the media browser and allow the insertion of the media tags into the BUEditor textarea.