Integrate emojis with the text transformation feature #17737
Labels
package:emoji
type:feature
This issue reports a feature request (an idea for a new functionality or a missing option).
๐ Provide a description of the new feature
The text transformation feature enables autocorrection. It automatically changes predefined text fragments into their improved forms.
Example:
(tm)
is replaced withโข
.Integrating the text emoticons and a commonly used emoji they might map to would be good.
Below, you can find a text and a corresponding emoji.
:)
โ:slightly_smiling_face:
(๐):(
โ:slightly_frowning_face:
(๐):D
โ:grinning:
(๐):O
โ:open_mouth:
(๐ฎ);)
โ:wink:
(๐):P
โ:stuck_out_tongue:
(๐):/
โ:confused:
(๐):\
โ:confused:
(๐):|
โ:neutral_face:
(๐)8)
โ:sunglasses:
(๐):*
โ:kissing:
(๐):'(
โ:cry:
(๐ข):')
โ:joy:
(๐)XD
โ:laughing:
(๐)XP
โ:stuck_out_tongue_winking_eye:
(๐)T_T
โ:sob:
(๐ญ)-_-
โ:expressionless:
(๐)x_x
โ:dizzy_face:
(๐ต):3
โ:smile_cat:
(๐ธ)<3
โ:heart:
(โค)</3
โ:broken_heart:
(๐)>:(
โ:angry:
(๐ )D:
โ:anguished:
(๐ง):^D
โ:zany_face:
(๐คช):v
โ:v:
(โ)=D
โ:grin:
(๐)8(
โ:tired_face:
(๐ซ);(
โ:cry:
(๐ข)To avoid issues with the loaded plugins' order, I suggest moving the
TextTransformation
initialization phase from theinit()
hook toafterInit()
.ckeditor5/packages/ckeditor5-typing/src/texttransformation.ts
Lines 121 to 131 in 9333cc9
Definition of Done
If you'd like to see this feature implemented, add a ๐ reaction to this post.
The text was updated successfully, but these errors were encountered: