JavaScript

Token replacement CKEditor plugin

In my current project, I needed a plugin for CKEditor that allowed users to add tokens for replacement in the WYSIWYG editor. The placeholder plugin was close, but there was no way to configure the token string (it uses [[token]] and I needed ${token}), and it would require that users type in the token, rather than selecting from a predetermined list.