Changes between Initial Version and Version 1 of Ticket #8591, comment 3
- Timestamp:
- Apr 24, 2012, 8:52:40 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8591, comment 3
initial v1 6 6 }}} 7 7 8 Small update - I have added a check that smiley_map has some content before it can be used. 9 8 10 I also added an extra config field (config.smiley_map) so that a custom smileyMap could be used which supports custom smileys. With the extra field I then changed line 86 to: 9 11 10 12 {{{ 11 var smileyMap = CKEDITOR.config.smiley_map||{"smiley":":)","sad":":(","wink":";)","laugh":":D","cheeky":":P","blush":":*)","surprise":":-o","indecision":":|","angry":">:(","angel":"o:)","cool":"8-)","devil":">:-)","crying":";(","kiss":":-*" },13 var smileyMap = (CKEDITOR.config.smiley_map&&CKEDITOR.config.smiley_map.length)||{"smiley":":)","sad":":(","wink":";)","laugh":":D","cheeky":":P","blush":":*)","surprise":":-o","indecision":":|","angry":">:(","angel":"o:)","cool":"8-)","devil":">:-)","crying":";(","kiss":":-*" }, 12 14 }}} 13 15