How can I add more "custom" symbols in the Insert Special Character panel please?
Thank you.
The simplest way to configure the toolbar is to use the dedicated toolbar configurator that is available in each editor installation package starting from CKEditor 4.5. The editor instance below was configured by using the accessible "toolbar groups" approach, with some unwanted buttons removed by setting the config.
Emojis are inserted by typing identifiers based on Unicode Short Names preceded by a colon ( : ) in the editor and selecting the suggestion from the provided dropdown. The emoji can also be selected manually from the dedicated dropdown that opens when you select the Emoji List button from the toolbar.
Adding a plugin to a buildClone the build repository. Install the plugin package. Add it to the build configuration. Bundle the build.
Note this can be done in the config file as well:
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-specialChars
In your config file => config.js
CKeditor Documentation: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-specialChars
config.specialChars = [ '"', '’', [ '&custom;', 'Custom label' ] ];
config.specialChars = config.specialChars.concat( [ '"', [ '’', 'Custom label' ] ] );
If you want to add special characters (Greek for example):
config.specialChars = config.specialChars.concat( [ [ 'α', 'alpha' ],
[ 'β', 'beta' ],
[ 'γ', 'gamma' ],
[ 'δ', 'delta' ],
[ 'ε', 'epsilon' ],
[ 'ζ', 'zeta' ],
[ 'η', 'eta' ],
[ 'θ', 'theta' ],
[ 'ι', 'iota' ],
[ 'κ', 'kappa' ],
[ 'λ', 'lambda' ],
[ 'μ', 'mu' ],
[ 'ν', 'nu' ],
[ 'ξ', 'xi' ],
[ 'ο', 'omicron' ],
[ 'π', 'pi' ],
[ 'ρ', 'rho' ],
[ 'σ', 'sigma' ],
[ 'τ', 'tau' ],
[ 'υ', 'upsilon' ],
[ 'φ', 'phi' ],
[ 'χ', 'chi' ],
[ 'ψ', 'psi' ],
[ 'ω', 'omega' ] ] );
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With