Changes between Initial Version and Version 1 of Ticket #8591, comment 3


Ignore:
Timestamp:
Apr 24, 2012, 8:52:40 AM (9 years ago)
Author:
cke_aardbei
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8591, comment 3

    initial v1  
    66}}}
    77
     8Small update - I have added a check that smiley_map has some content before it can be used.
     9
    810I 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:
    911
    1012{{{
    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":":-*" },
     13var 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":":-*" },
    1214}}}
    1315
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy