|
|
|
@ -13,6 +13,7 @@ KindEditor.plugin('emoticons', function(K) {
|
|
|
|
|
allowPreview = self.allowPreviewEmoticons === undefined ? true : self.allowPreviewEmoticons,
|
|
|
|
|
currentPageNum = 1;
|
|
|
|
|
self.clickToolbar(name, function() {
|
|
|
|
|
this.edit.focus();//如果没有这句 火狐下取不到焦点 导致_getSel()为空 报错
|
|
|
|
|
var rows = 5, cols = 9, total = 135, startNum = 0,
|
|
|
|
|
cells = rows * cols, pages = Math.ceil(total / cells),
|
|
|
|
|
colsHalf = Math.floor(cols / 2),
|
|
|
|
|