浏览代码

add more smiles

Andrey Titovskiy 3 年之前
父节点
当前提交
59bd2c299e
共有 3 个文件被更改,包括 17 次插入3 次删除
  1. 0 0
      build/ckeditor.js
  2. 0 0
      build/ckeditor.js.map
  3. 17 3
      src/ckeditor.js

文件差异内容过多而无法显示
+ 0 - 0
build/ckeditor.js


文件差异内容过多而无法显示
+ 0 - 0
build/ckeditor.js.map


+ 17 - 3
src/ckeditor.js

@@ -46,12 +46,26 @@ class InlineEditor extends InlineEditorBase {}
 
 function SpecialCharactersEmoji( editor ) {
     editor.plugins.get( 'SpecialCharacters' ).addItems( 'Emoji', [
-        { title: 'smile', character: '😀' },
-		{ title: 'wink', character: '😉' },
 		{ title: 'cool', character: '😎' },
 		{ title: 'surprise', character: '😮' },
 		{ title: 'confusion', character: '😕' },
-		{ title: 'crying', character: '😢' }
+		{ title: 'crying', character: '😢' },
+		{ character: '🙂', title: 'Slightly smiling face' },
+		{ character: '😀', title: 'Smiling face' },
+		{ character: '😃', title: 'Smiling face with big eyes' },
+		{ character: '😄', title: 'Smiling face with smiling eyes' },
+		{ character: '😁', title: 'Beaming face with smiling eyes' },
+		{ character: '😅', title: 'Smiling face with tears' },
+		{ character: '😆', title: 'Grinning face' },
+		{ character: '🤣', title: 'Rolling on the floor laughing' },
+		{ character: '😂', title: 'Lauging with tears' },
+		{ character: '🙃', title: 'Upside down face' },
+		{ character: '😉', title: 'Winking face' },
+		{ character: '😊', title: 'Smiling face with smiling eyes' },
+		{ character: '😇', title: 'Smiling face with halo' },
+		{ character: '🤓', title: 'Nerdy face' },
+		{ character: '🧐', title: 'Face with monocle' },
+		{ character: '🥳', title: 'Partying face' },
     ] );
 }
 

部分文件因为文件数量过多而无法显示