Forum
CKEditor not loading on block after block containing repeater
I have an editable region with a mix of blocks. One of the blocks is a simple HTMl text input block using CKeditor:
<perch:template path="content/blocks/text.html" />
Points to:
<perch:content type="textarea" id="text" label="Text" html="true" editor="ckeditor" />
This has been working fine until I introduced a more complicated block containing a repeater:
<perch:block type="textGrid" label="Text Grid">
<div class="textGrid section">
<perch:repeater id="blocks" label="Blocks">
<div class="textBlock section">
<div class="text section">
<perch:template path="content/blocks/text.html" />
</div><!--/.text-->
<perch:if exists="image">
<div class="image section">
<perch:template path="content/blocks/image.html" />
</div><!--/.image-->
</perch:if>
</div><!--/.textBlock-->
</perch:repeater>
</div><!--/.textGrid-->
</perch:block>
The CKEditor loads fine for all text instances before the 'textGrid' block, and the CKEditor loads fine in the text input fields within the repeaters within the 'textGrid' block.
However CKEditor fails to load on any text inputs added after the 'textGrid' block.
This isn't a chronological issue as I can create text inputs before the 'textGrid' block an the editor loads, but anything created at the end of the list of blocks doesn't load the CKEditor.
Any ideas?
Please post your Diagnostics Report.
This is something we're looking into.
Thanks Drew.