瀏覽代碼

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

File diff suppressed because it is too large
+ 0 - 0
build/ckeditor.js


File diff suppressed because it is too large
+ 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' },
     ] );
 }
 

Some files were not shown because too many files changed in this diff