Révision 2b3c8cc1
Ajouté par Assos Assos il y a presque 9 ans
drupal7/sites/all/modules/media/modules/media_wysiwyg/wysiwyg_plugins/media_ckeditor/library.js | ||
---|---|---|
13 | 13 |
*/ |
14 | 14 |
invoke: function (data, settings, instanceId) { |
15 | 15 |
if (data.format == 'html') { |
16 |
if (jQuery(data.node).is('.media-element')) {
|
|
16 |
if (jQuery(data.node).is('[data-media-element]')) {
|
|
17 | 17 |
// Change the view mode for already-inserted media. |
18 | 18 |
var mediaFile = Drupal.media.filter.extract_file_info(jQuery(data.node)); |
19 | 19 |
Drupal.media.popups.mediaStyleSelector(mediaFile, function (mediaFiles) { |
Formats disponibles : Unified diff
Weekly update of contrib modules