|
|
|
@ -1,7 +1,10 @@
|
|
|
|
|
<style>
|
|
|
|
|
.ke-toolbar-icon-url{background-image:url( '/assets/kindeditor/plugins/emoticons/images/0.gif' )}
|
|
|
|
|
.ke-toolbar{display:none;width:400px;border:none;background:none;}
|
|
|
|
|
.ke-icon-emoticons{background-position:0px 0px;width:24px;height:24px;}
|
|
|
|
|
.ke-toolbar{display:none;width:400px;border:none;background:none;padding:0px 0px;}
|
|
|
|
|
.ke-toolbar-icon{line-height:26px;font-size:14px;padding-left:26px;}
|
|
|
|
|
.ke-toolbar-icon-url{background-image:url( '/images/public_icon.png' )}
|
|
|
|
|
.ke-toolbar .ke-outline{padding:0px 0px;line-height:26px;font-size:14px;}
|
|
|
|
|
.ke-icon-emoticons{background-position:0px -671px;width:50px;height:26px;}
|
|
|
|
|
.ke-icon-emoticons:hover{background-position:-79px -671px;width:50px;height:26px;}
|
|
|
|
|
.ke-toolbar .ke-outline{border:none;}
|
|
|
|
|
</style>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
@ -128,7 +131,7 @@ function nh_init_board(params){
|
|
|
|
|
},
|
|
|
|
|
afterCreate:function(){
|
|
|
|
|
var toolbar = $("div[class='ke-toolbar']",params.about_talk);
|
|
|
|
|
toolbar.append('<span style="line-height:24px;">表情</span>');
|
|
|
|
|
$(".ke-outline>.ke-toolbar-icon",toolbar).append('表情');
|
|
|
|
|
params.toolbar_container.append(toolbar);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
@ -168,7 +171,7 @@ function nh_init_board(params){
|
|
|
|
|
}else{
|
|
|
|
|
params.textarea.html(params.init_content_val.val());
|
|
|
|
|
}
|
|
|
|
|
editor.html(params.textarea.html());
|
|
|
|
|
editor.valueOf(params.textarea);
|
|
|
|
|
params.subjectmsg.hide();
|
|
|
|
|
params.contentmsg.hide();
|
|
|
|
|
if(params.quote_show!=undefined)params.quote_show.empty();
|
|
|
|
|