自从我从 TinyMCE 3 升级到 TinyMCE 4 后,控制台出现以下错误:
Deprecated TinyMCE API call: .onBeforeSetContent.add(..)
我应该改用什么?
最佳答案
你将不得不使用
editor.on('BeforeSetcontent', function(event){
console.log(event)
});
关于javascript - 在 TinyMCE 4 中,editor.onBeforeSetContent.add() 已弃用,用什么代替?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23512465/