Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

CKEditor ignores any config file called Default.json

Open Beginner friendly
#629 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
php
Domain
backend

Research direction

Start by reproducing the issue with config/ckeditor/Default.json and inspect how the field settings discover and populate the CKEditor config file option. Trace the handling of the filename Default.json, then verify that it appears as a selectable option and that the field no longer reports that there are no JS/JSON files.

Written by the indexing model from the issue text.

Description

bug
Description

I recently migrated from CKEditor 4.x to 5.x, one of the CKEditor configs under 4.x was called "Default", this created a config/ckeditor/Default.json, but in the field settings the config file is not selectable and instead shows the error message "There are no JS/JSON files in config/ckeditor"

Renaming the .json file to anything but Default.json allows it to show up in the dropdown on the field.

Steps to reproduce
  1. Migrate from CKEditor 4.x
  2. Review field that previous had a CKEditor config applied
  3. Under Advanced the config file option does not show the Default.json file as an option
Additional info
  • Craft version: 5.11.3
  • PHP version: 8.4
  • Database driver & version: MySQL 8
  • Plugins & versions:
Dominant language
PHP
Stars
47
Forks
32
Avg merge
3d 20h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from craftcms/ckeditor

All issues in craftcms/ckeditor

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.