By default, the teaser break plugin inserts the following XHTML when in WYSIWYG mode:

<img src=".../images/spacer.gif" alt="&lt;--break-&gt;" title="&lt;--break--&gt;" class="wysiwyg-break drupal-content" />

The TinyMCE plugin translates this into:

[img].../images/spacer.gif[/img]

This happens before the teaser break module is able to replace the XHTML placeholder with the break comment. This leads to an unworkable situation when using the bbcode and teaser break plugin at the same time.

I will attach a patch that makes sure that [img].../images/spacer.gif[/img] is also replaced.

Comments

Jorrit’s picture

Status: Active » Needs review
StatusFileSize
new3.03 KB

The attached patch changes the teaser break plugin to check if the editor is TinyMCE and the BBCode plugin is active. If so, the detach() method replaces the bbcode placeholder instead of the XHTML placeholder.