문제

I'm getting the following error in the console since I've upgraded from TinyMCE 3 to TinyMCE 4:

Deprecated TinyMCE API call: .onBeforeSetContent.add(..)

What should I use instead?

도움이 되었습니까?

해결책

You will have to use

editor.on('BeforeSetcontent', function(event){
  console.log(event)
});
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top