Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CKEditor add more symbols

How can I add more "custom" symbols in the Insert Special Character panel please?

Thank you.

like image 786
Francisc Avatar asked Oct 13 '10 08:10

Francisc


People also ask

How do I add items to CKEditor toolbar?

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.

How do you add Emojis to CKEditor?

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.

How do I add plugins to CKEditor 5?

Adding a plugin to a buildClone the build repository. Install the plugin package. Add it to the build configuration. Bundle the build.


2 Answers

Note this can be done in the config file as well:

http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-specialChars

like image 200
Michael Avatar answered Oct 21 '22 01:10

Michael


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' ] ] );
like image 25
stevenC Avatar answered Oct 21 '22 02:10

stevenC