Adding Custom Templates to CK Editor

The available content templates in CK Editor can also be customized for a specific theme.

  1. Locate the following file and open it in your favorite text editor:

    /{siteID}/includes/themes/{theme name}/js/templates/default.js
  2. Edit default.js to remove, edit or add new templates using the following convention:

  3. Once you updated the code, you can update or add the associated thumbnail images and add them to the following directory. Don;t forget to add the reference to the image in the "image" declaration like the sample above.
    /{siteID}/includes/themes/{theme name}/js/templates/images