ckeditor not showing on all blocks?
Hi all, Got a strange issue. Ive got this page which uses blocks, in this case the block is a staff biography block with title and text field. The issue I'm having is that the text field is supposed to be using ckeditor, so all of the formatting buttons appear, however, if I add a second, third, fourth block of this same staff biography block, the text fields are not using ckeditor and have no formatting?
Does any one have any idea why this might be happening?
Here is the snippet of the block that spits out the textarea incase it helps :
<div class="bioCon">
<h5><perch:content id="staffname" type="text" label="Staff Name" required="true" title="true" /></h5>
<h6><perch:content id="stafftitle" type="text" label="Staff Title" required="true" title="true" /></h6>
<p><perch:content id="staffinfo" type="textarea" required="true" label="Staff Bio Info" size="s" editor="ckeditor" html="true" /></p>
</div>
This is a known issue that we're looking into.
Thanks Drew, any idea on timeline? Just wondering whether or not to try another editor in the meantime maybe this will help.
I believe it's the same for any JavaScript editor, but the built in ones may be better. I don't have a timeline, but it's not likely to be this week.
any updates on this issue? Just waiting on this to be able to push website live. If not I need another solution asap
We've not been able to reproduce the issue as yet - it's working perfectly here.
Hi Drew, this is a little confusing. In previous posts you mention it was a known issue that was being worked on?
The issue is still there for me, ckeditor loads fine on the first block, but not in blocks after that. Here is the full snippet of code I am using, perhaps I am doing something wrong then? Any advice appreciated am stuck with this
Thank you
It is a known issue, as multiple people have reported it. I'm not suggesting they're lying - it's obviously an issue. But as yet I've not been able to find and create the circumstances that reproduce the issue.
Thank you for your reply
Wondering if there's anything I can do to help identify the issue. It's effecting me on all of my sites.
Regards, Monty
Sorry to hear you're having the same issues Monty, I am unsure what step to take next and this is delaying site launch =(
Have you tried it with Redactor?
I was initially using redactor and switched the template to ckeditor to see if it was a redactor issue...
So I think it is something that effects all editors because I think I tried all the editors I had installed on that site (redactor, ckeditor and ace).
I think it corresponded with the perch update that allowed for the override of the redactor config file... (/perch/addons/plugins/editors/config.js)
Anyway. This may help, sorry if this is posting where I shouldn't (not my tread).
I'm attaching the template in question. It has several blocks that each have textareas with redactor set as the editor.
If you load this template, add a couple 'headline and text' blocks (I made them all popsicles for you), you should see that the editor does NOT load.
Here's the weird part. If you change the textarea editor in the 'content_slider' block to ckeditor, the textarea for 'headline and text' will display the redactor editor in the admin!
And, Natalia, For your launch, you can enter the html into those fields and they will display correctly on the site as a temporary work around.
Here's the template for testing:
Can someone link me the redactor plugin please? cant see to find it
It's included. Use
editor="redactor"
Aaah thanks, dead simple then =)
Have just made the switch and unfortunately I experience the same issue, only the very first block is correctly loading the texteditor, all subsequent blocks after that revert to standard text box
Trying to install tinymce as a custom editor, but can't find the file _config.json, do we need to create this? Following instructions here :
https://docs.grabaperch.com/api/editors/
Bit desperate so dont know what else to try but another editor and see if I get lucky
There's no version of the TinyMCE plugin for Perch 3. (At least not from us.)
Ok, so going to go live without this for now. Could we get some info please on when this bug will be fixed? I would be happy to provide login details if it helps so you can see the issue for yourselves, however, even after stripping down a template to just a single block which loads one of the js editors, the same issue stands, when adding more than one occurence of the block, the editor no longer loads.
Thank you
We'll try and look at it for the next release.
Natalia, see this thread if you need a fix in the meantime:
https://forum.grabaperch.com/forum/08-30-2017-redactor-in-blocks-issue