Using 1.3 here and trying to add default classes to images being embedded. From one of the issues in 2.x I came across using: hook_media_token_to_markup_alter. But in 1.3 it doesn't seem to fire off. I can see the hook in media.api.php, is this not a feature until 2.x?

Comments

thebruce’s picture

Component: WYSIWYG integration » Code
Issue summary: View changes

This was moved to media wysiwyg and the function is now:
hook_media_wysiwyg_token_to_markup_alter

Chris Matthews’s picture

Version: 7.x-1.3 » 7.x-1.x-dev
Status: Active » Closed (outdated)

Closing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team