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

前端 未结 4 1021
北恋
北恋 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:04

    The real answer to this is just use the noneditable plugin.

    https://www.tiny.cloud/docs/plugins/noneditable/#noneditable_editable_class

    This does what you want.

提交回复
热议问题