-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPENEUROPA-2020: Add style for wysiwyg embed.
- Loading branch information
Showing
4 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[data-oembed] { | ||
height: 8em; | ||
width: 100%; | ||
background-color: #E0E0E0; | ||
text-align: center; | ||
padding-bottom: 1.2em; | ||
line-height: 8em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* OpenEuropa Media Embed module. | ||
*/ | ||
|
||
declare(strict_types = 1); | ||
|
||
/** | ||
* Implements hook_ckeditor_css_alter(). | ||
*/ | ||
function oe_media_embed_ckeditor_css_alter(&$css, $editor) { | ||
$css[] = drupal_get_path('module', 'oe_media_embed') . '/css/ckeditor_embed.css'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters