Changes between Initial Version and Version 1 of Ticket #8198, comment 5


Ignore:
Timestamp:
Apr 24, 2012, 8:51:56 AM (13 years ago)
Author:
cke_aardbei
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8198, comment 5

    initial v1  
    1 Apologies - I already posted this for ticket #8591 before realising it was marked as a duplicate for this ticket.
     1Apologies - I already posted this for ticket #8591 before realising it was marked as a duplicate for this ticket. 
    22
    33I also found the same issue when I added CKE to phpBB. I took a look at the BBcode plugin code (plugins\bbcode\plugin.js) and found that some RegExp special chars are not being escaped when the SmileyRexExp is built on line 94. I changed it to:
     
    88}}}
    99
     10Small update - I have added a check that smiley_map has some content before it can be used.
    1011
    1112I 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:
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy