Forum

Thread tagged as: CKEditor

CKEditor not rendering H4,H5,H6

With Redactor being removed from Perch 3, I'm resorted to using CKEditor. H4, H5, H6 have been removed from this base package. I have altered the config.js file within ckedior plugin to read

    // Enable all default text formats:
    config.format_tags = 'p;h1;h2;h3;h4;h5;h6;pre;address;div'

But still no joy and a refresh, etc..? I don't want to have to use markitup

Cormac Kerrigan

Cormac Kerrigan 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Redactor hasn't been removed - it's now one of the default editors.

using this in my template >

editor="markitup" html="true" required="true" label="text"

appears like the old Markitup format, where a heading gets the tags wrapped around it. i.e. <h3>Heading</h3> not very user friendly. Is this what it's meant to look like or should I be pointing my editor to a different name??!

Drew McLellan

Drew McLellan 2638 points
Perch Support

For Redactor, use:

editor="redactor" html="true"