tweetable_text_for_ckeditor
This module allows editors to highlight selected portions of content and share them as Twitter posts.
It integrates with CKEditor 5 and provides a toolbar button to mark text as “tweetable.” Highlighted text can then be shared directly with a predefined tweet format.
Configuration:
- Enable the module and configure it in the text format settings
- Add the Tweetable Text button to the CKEditor 5 toolbar
- Works with text formats that support CKEditor 5 (e.g., Full HTML)
Features:
- Highlight text to generate tweetable content
- Customizable tweet text template
- Option to change the default Twitter icon
- CSS variables for styling overrides
- Supports JavaScript overrides for advanced customization
Note:
- Requires CKEditor 5 (Drupal 10/11)
- Older CKEditor 4-based functionality is no longer supported