Du musst den TinyMCE so konfigurieren, dass er <span> Tags ohne Attribute erlaubt.
Ansonsten: brauchst du das im TinyMCE überhaupt? Ich würde an deiner Stelle einfach das ganze über das ganz normale "Überschrift" Feld eines Inhaltselements erledigen. Dazu musst du einfach nur das block_searchable, block_unsearchable und ce_headline Template überschreiben.
PHP-Code:
<div class="<?= $this->class ?> block"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>>
<?php $this->block('headline'); ?>
<?php if ($this->headline): ?>
<<?= $this->hl ?>><span><?= $this->headline ?></span></<?= $this->hl ?>>
<?php endif; ?>
<?php $this->endblock(); ?>
<?php $this->block('content'); ?>
<?php $this->endblock(); ?>
</div>
PHP-Code:
<!-- indexer::stop -->
<div class="<?= $this->class ?> block"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>>
<?php $this->block('headline'); ?>
<?php if ($this->headline): ?>
<<?= $this->hl ?>><span><?= $this->headline ?></span></<?= $this->hl ?>>
<?php endif; ?>
<?php $this->endblock(); ?>
<?php $this->block('content'); ?>
<?php $this->endblock(); ?>
</div>
<!-- indexer::continue -->
PHP-Code:
<<?= $this->hl ?> class="<?= $this->class ?>"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>>
<span><?= $this->headline ?></span>
</<?= $this->hl ?>>
Lesezeichen