關於KingEditor黏貼時清空word樣式

網上找了很久都找不到,最後看源代碼var doc = self.edit.doc突發奇想直接在頁面上加給編輯框綁定paste事件調用edito.clickToolbar('clearhtml');就能夠了 html

K(edito.edit.doc.body).bind('paste', function(e){       edito.clickToolbar('clearhtml');       });
相關文章
相關標籤/搜索