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

Migrating Redactor Variables to CKEditor Placeholder

Open
#205 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, php
Domain
content, frontend

Research direction

Review the Redactor Variables plugin description and CKEditor’s inline-widget demo linked in the issue to understand the proposed placeholder behavior. A complete feature would provide an official Craft CMS build that lets authors insert placeholder variables and later replace them with actual content.

Written by the indexing model from the issue text.

Description

bug
Description

We received the message in the CP that Redactor is no longer being supported which is fine, CKEditor seems to be a better option overall. However, one of the breaking changes that's preventing us from migrating is Redactor has the nifty Variables plugin which allows you to put in placeholder content which later gets replaced with the actual content.

We're using this functionality to let a client customize various aspects of their emails from the CP after one of their online trainings is done, which seems to be an ideal use case for this.

Screenshot 2024-04-04 at 12 09 23 PM

After doing some digging it looks CKEditor has already built something similar, essentially using their demo project as a jump-off.

I took a stab at building this myself (and failing) - but what are the odds this plugin can make it into an official Craft CMS build at some point?

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.