remdex/livehelperchat — pull request #215 by hientrung (2013-12-08 15:47:14+00:00)
Title: Use SCEditor for type chat between operator and visitor, add some BBCode and Emoticon

Extension : SCEditor

Use SCEditor to replace textarea input chat for operator and visitor of module lhchat (not implement for chatbox)
Refer : http://www.sceditor.com/

+ Add and fix some code to use for livehelperchat
+ Edit default value config : toolbar, style, emoticon (from line 5319 of file jquery.sceditor.bbcode.js)
+ Add option config : customizeToolbar, keyEnter, keyPress

Override :
+ Pagelayout for include css and js of sceditor
+ Template chat and adminchat, replace textarea to sceditor (bbcode)
+ Class lhBBCode, add some code convert BBCode for emoticon, color, strike

Note: To add more emoticon, must declare in jquery sceditor, and then write code convert BBCode to html, folder images/smiley have a lot of emoticon yahoo do not use in editor