简体   繁体   中英

How to encode curly brace in tinymce?

How can I encode curly brace { in tinymce?


I want to automatically tinymce convert it to {

There is no configuration option in TinyMCE to do this for you. There is a configuration option to tell TinyMCE to encode certain entities:

https://www.tinymce.com/docs/configure/content-filtering/#entities

...but this only affects unicode characters above 126.

If you need to do this your best bet would be to process this character on the server as the content is posted.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM