ckeditor.drupalimagestyle.css |
css/plugins/drupalimagestyle/ckeditor.drupalimagestyle.css |
|
/* TODO: this doesn't work... */
img[data-style="responsive:narrow"] {
width: 40%;
}
img[data-style="small"] {
width: 55%;
}
img[data-style="medium"] {
width: 60%;
}
img[data-style="large"] {
… |
DrupalImageStyle.php |
src/Plugin/CKEditorPlugin/DrupalImageStyle.php |
Drupal\inline_responsive_image\Plugin\CKEditorPlugin |
|
inline-responsive-image.html.twig |
templates/inline-responsive-image.html.twig |
|
<span{{ attributes.addClass('tokenImage') }}>
{{ image }}
{% if caption %}
<span class="caption">{{ caption }}</span>
{% endif %}
</span> |
InlineResponsiveImage.php |
src/Plugin/Filter/InlineResponsiveImage.php |
Drupal\inline_responsive_image\Plugin\Filter |
|
inline_responsive_image.info.yml |
inline_responsive_image.info.yml |
|
inline_responsive_image.info.yml |
inline_responsive_image.libraries.yml |
inline_responsive_image.libraries.yml |
|
inline_responsive_image.libraries.yml |
inline_responsive_image.module |
inline_responsive_image.module |
|
|