How to make an element in a TinyMCE editor treated as a non-editable single item?

前端 未结 4 1020
北恋
北恋 2021-02-04 11:14

Within our CMS, our users can edit error messages for forms using TinyMCE. The problem is, some of these messages may require dynamic data, e.g. \"Your chosen name \'X\' i

4条回答
  •  梦谈多话
    2021-02-04 12:01

    As a duck-tape programmer, I have to ask - can't you use an image? I think TinyMCE used smilies, maybe you can replace those with "elementies" and allow customer to insert them and on save convert to tokens.

提交回复
热议问题