Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I can't understand what i should do in order to have the "teaser break" plugin or button or whatever...
I have tinymce 3.2.2.3
Thank you,
Fabio
Comments
Comment #1
TwoDThe Teaser Break plugin is included in Wysiwyg API and the TinyMCE implementation has support for it so you do not need to edit any files.
All you should need to do is to activate the Teaser Break button under "Buttons and plugins" on admin/settings/wysiwyg/profile/#/edit where # is your profile number.
Comment #2
kim.pepperEnabling this option gives me a teaser button in the toolbar, but it seems to be disabled.
Comment #3
TwoDIf it's there it should be working. Clicking it should insert a narrow image with a red text saying
<!--break-->
which is a placeholder for Drupal's<!--break-->
comment as it would otherwise not be visible in WYSIWYG mode. In source mode, or if you disable Rich text editing, you should just see the comment as that's what will actually be stored in the content.If it's not working, please look for JavaScript errors and report them here.
Comment #4
sunComment #5
alexic CreditAttribution: alexic commentedWell, the problem is that there is any "teaser break" button or plugin to activate in my admin/settings/wysiwyg/profile/edit/2!!
Comment #6
alexic CreditAttribution: alexic commentedComment #7
TwoDOk, the list of editor plugins is hard coded into the editor implementation so if the editor is found, the plugins should always appear. But let's start at the top just to be sure the very basics are correct.
Please confirm that:
Comment #8
alexic CreditAttribution: alexic commentedunfortunately i'm not at home. I'll reply asap
Comment #9
sunComment #10
Shane Birley CreditAttribution: Shane Birley commentedI can confirm this may be a real issue. I have been seeing on a couple of sites the teaser break button is activated but the icon is greyed out. I will look into this more as it may be a permissions issue but there is no explicit permission for the buttons on the module.
Comment #11
TwoD@Shane Birley, see #497654: Drupal plugin buttons disabled in WebKit based browsers for why you get grayed out icons. This issue is about it not being able to enable Teaser Break at all because it's not listed as a plugin.
Comment #12
sunThanks for taking the time to report this issue.
However, marking as duplicate of #497654: Drupal plugin buttons disabled in WebKit based browsers.
You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.