Forum

Thread tagged as: Installation, Addons, CKEditor

Addint CKEditor Plugin Problem

Need to be able to insert image into a textarea so trying ckeditor. Have followed the instruction in docs; well, think have eg <perch:content id="body" type="textarea" label="Article body" html="true" markdown="false" editor="ckeditor" imagewidth="300" bucket="classes" /> but no edit box shows in admin area.

ckeditor folder copied into plugins/editors so not sure what else, if anything, still needs to be done.

regards Rob Willox

Rob Willox

Rob Willox 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Is this in a content template for a region?

It was substituted in a region block template for the markitup code below:-

<div class="row">
    <div class="medium-12 columns">
             <img class="circle-f w30l" src="<perch:content type="image" id="topImage" label="Image" width="600" />" alt="<perch:content type="text" id="topalt" label="Description" required="true" help="e.g. Photo of teacher/class" title="true" />" />
            <h1><perch:content id="title" type="text" label="Article Title" markdown="true" editor="markitup" required="true" /></h1>
            <perch:content id="body" type="textarea" label="Article body" markdown="true" editor="markitup" imagewidth="600" />
    </div>
 </div>
Drew McLellan

Drew McLellan 2638 points
Perch Support

Does the field appear if you don't specify an editor?

I can't think what would cause no field to display.

A textarea field does appear if it is removed but no formatting or other controls available.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok. Can you try reinstalling CKEditor? It sounds like it's just not working.

Will give it another try but in the interim, the imageclasses attribute looks like it will do the job as it was only the formatting of images added in the textarea that was the issue.

Thanks for the help and will update when re-install.