This module is intended for use with TWBase Theme.
The additional features provided by this module are:
- a
prose
(tw-prose
) wrapper class is added to the editorbody
that allows tailwindcss-typography to works correctly while editing a node in the admin section - extra styles provied by TWBase Theme are added to CKEditor for a better match with tailwindcss-typography and easily applying custom styles like:
p.lead
code
- custom colors (
text-primary
,text-secondary
,text-success
,text-danger
,text-warning
) dropcap
for a Dropcap (big letter at the beginning of a sentence/word)button
(i.e. display a link like a button), and colored buttonsbutton--primary
,button--secondary
,button--success
,button--danger
,button--warning
- an admin interface is provided to edit the showcase content
- and last but not least: it allows you to define showcase options per content type 🥳
To have extra styles working you must add the "Styles" button to your CKEditor configuration at /admin/config/content/formats/manage/full_html
- Install as you would normally install a contributed Drupal module. Visit: https://www.drupal.org/node/1897420 for further information.
Current maintainers:
This project has been sponsored by myself!