Sorry, you need to enable JavaScript to visit this website.

Placeholder Select

A configurable, generic and lightweight solution for inserting placeholder tokens into the editor via a combo box (select box) dropdown located in the toolbar.

This plugin was inspired by the strinsert and placeholders plugin.  This was a commonly requested plugin on StackOverflow.  It doesn't have any hard dependencies other than the combobox plugin.

By default it will use the placeholder plugins token format (with square brackets, For example [[myplaceholder]]). This enables it to support the placeholders plugin out of thebox.  However to achieve maximum flexibility any custom format can be specified through your config.js file. Thus is could for example support {{my-token}} or @@some-token@@.

Placeholders are defined as an array of strings from your config.js.  If you wish to dynamically set the tokens, you can just use jQuery/JavaScript to get them from somewhere and set them in your config.js. 

Configuration

See the screenshots for a configuration demo. It's easy!

Related links

See the following plugin to achieve the highlighting from the screenshots

Screenshots

placeholder_select

6,270 downloads (view stats)

Releases

Plugin versions CKEditor versions
4.9 4.8 4.7

Version: 0.1

DownloadRelease notes

Initial release

Twitter Facebook Facebook Instagram Medium Google+ GitHub Arrow down Phone Menu Close icon Check