记录:jQuery监听页面
$("#froala-editor").bind("DOMNodeInserted DOMNodeRemoved",function(){
  var height = $("#clear-s-brackets").height();
  if (height >= 1139)
   {$("#listen").removeClass("hide")}
   if (height < 1139)
    {$("#listen").addClass("hide")}
});

bind为捆绑事件,必须在编辑器所在的id下面要不然会被编辑器洗掉js