Skip to content

Custom heading config not loading after 4.10 update #461

@TheFunkyMonk

Description

@TheFunkyMonk

Description

After updating from CKeditor 4.9.0, all our custom heading block options are gone. Config below.

Steps to reproduce

  1. Create a CKeditor field with the below config and all default headings disabled
  2. Open heading dropdown

Additional info

  • Craft version: 5.8.15
  • PHP version: 8.3.21
  • Database driver & version: MySQL 8.0.40
  • Plugins & versions:
CKEditor 	4.10.1
Colour Swatches 	5.1.0
Control Panel CSS 	3.0.0
Element Relations 	3.1.3
Field Manager 	4.0.3
ImageOptimize 	5.0.7
Redirects 	5.0.12
Retcon 	3.2.1
SEO 	5.1.17
Servd Assets and Helpers 	4.1.2
Vite 	5.0.1

Config

{
  "heading": {
    "options": [
      {
        "class": "ck-subhead",
        "model": "heading6",
        "title": "Subhead",
        "view": "h6"
      },
      {
        "class": "ck-heading",
        "model": "heading1",
        "title": "Heading",
        "view": "h2"
      },
      {
        "class": "ck-paragraph",
        "model": "paragraph",
        "title": "Paragraph",
        "view": "p"
      }
    ]
  },
  "link": {
    "decorators": {
      "openInNewTab": {
        "attributes": {
          "rel": "noopener noreferrer",
          "target": "_blank"
        },
        "label": "Open in a new tab",
        "mode": "manual"
      }
    }
  },
  "list": {
    "properties": {
      "reversed": false,
      "startIndex": false,
      "styles": false
    }
  },
  "style": {
    "definitions": [
      {
        "classes": [
          "ck-paragraph-large"
        ],
        "element": "p",
        "name": "Large paragraph"
      }
    ]
  }
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions