I use ckeditor and would like to be able to give the use a list of Template Tokens (for php smarty, but could be anything) that can be inserted into the main editor text at the cursor
我使用ckeditor并希望能够使用模板令牌列表(对于php smarty,但可以是任何东西),可以插入到光标处的主编辑器文本中
eg.
- {[$FirstName]}
- {[$PhoneNumber]}
- {[$BalanceDue]}
Is there a simple way to create a plugin to do this?
有没有一种简单的方法来创建一个插件来做到这一点?
1 个解决方案
#1
0
There is a post at kuba.co.uk that gives a very simple example of how to do this.
kuba.co.uk上有一篇文章,给出了一个如何做到这一点的简单例子。
#1
0
There is a post at kuba.co.uk that gives a very simple example of how to do this.
kuba.co.uk上有一篇文章,给出了一个如何做到这一点的简单例子。