0

I am using inline CKEditor. I have removed the emoticons options from toolbar. But I can still insert emoticons from the IPAD keyboard.

Any idea on how I can restrict/filter the emoticons in ckeditor in touch devices.

Thanks.

snehatulsi
  • 251
  • 1
  • 12
  • real time javascript validation. listen on keypress or text area value change and validate accordingly. – Sharky May 11 '15 at 08:16
  • I tried that. I used this regex /([\uE000-\uF8FF]|\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDDFF])/g But it doesnot cover all the emoticons available in ipad. – snehatulsi May 11 '15 at 08:19
  • then why not drop that regex, and just hard-code all the emoticons available in the ipad in your matching function? – Sharky May 11 '15 at 08:23
  • Isn't anything possible from ckeditor filter plugin, or config. Ipad emoticons cannot be easily covered by regex. check this : http://stackoverflow.com/questions/10992921/how-to-remove-emoji-code-using-javascript. And if i dont have a clean solution, at last i would go with this. – snehatulsi May 11 '15 at 08:44

0 Answers0