Projet

Général

Profil

Révision 7e72b748

Ajouté par Assos Assos il y a plus de 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/media/modules/media_wysiwyg/media_wysiwyg.module
597 597
      }
598 598
    }
599 599
  }
600
  // For integration/support of the picture module https://www.drupal.org/project/picture.
601
  // Disable Picture display in WYSIWYG mode. Normal <img> will be rendered
602
  // instead. CKEditor and Media WYSIWYG modules with render with common <img>
603
  // while frontend will render full <picture> output as usual.
604
  if (module_exists('picture')) {
605
    if (!empty($file->override['wysiwyg']) && !empty($displays['file_field_picture']['status'])) {
606
      $displays['file_field_picture']['status'] = 0;
607
    }
608
  }
600 609
}
601 610

  
602 611
/**

Formats disponibles : Unified diff