Tweetable text CKEditor
This module enables content editors to mark specific text sections within CKEditor 5 and share them as tweets. It adds a button to the editor toolbar that, when clicked, allows users to select text that can then be formatted and shared directly to Twitter.
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