Giphy Search

This plugin adds a Gighy icon to the Insert toolbar.  Clicking it provides searching of the https://giphy.com library, previewing of the resulting animated GIFs and Stickers (transparent animated GIFs), and selecting from multiple sizes for insertion into the CK Editor.

Using the Plugin/Features

  • Click the on the insert toolbar to open the Giphy Dialog
  • Enter a phrase in the text field  to send to the Giphy GIF Search API or the Giphy Stickers Search API and hit Enter key or click the Search button.
  • Up to 12 thumbnail previews of matching Giphy GIFs/Stickers ill display along with a get more link
    • Displays title (truncated if too wide) below thumbnail
    • Hover displays full title and size of the original image
  • Single click thumbnail to select it
  • Double click a thumbnail to insert default size image, defaults to _ small_ (unless overridden by config), in editor at cursor position or as first entry if no cursor position selected or Choose an insert size from the dropdown, smallmedium, or large.
    • Default size of small is the original width and height divided by 4 or 25% of original
    • Default size of medium is the original width and height divided by 2 or 50% of original
    • Default size of large is the original width and height or 100% of the original

Setup

To use this plugin in your CKEDitor v4.x installation:

  • If downloaded Extract the giphy folder, maintaining sub-folder structure, to the plugins folder of your CKEditor installation.
  • If using the CDN, extract the plugin to any other folder accessible by the code you are integrating the CKEditor with.
  • Follow the Configuration instructions below

Configuration

This plugin app is approved by Giphy but under my personal Giphy API key.  To use this plugin you will need to create an your own API key at https://developers.giphy.com/dashboard/?create=true.  Make sure to select API (not SDK).  If you expect a lot of public use you will likely need to submit your API key to Giphy for production approval, otherwise you can leave it restricted.  Start with restricted and once you have the plugin integrated to your app and rolled out you can submit to Giphy for production approval

  • giphy_credentials
    • String value containing a valid Giphy API key.
    • This is the one setting that is required for the plugin to work!
    • Typically such things would not be documented in a JavaScript file as that isn't secure. If this concerns you then please don't use this plugin. While this author agrees, this was written none-the-less and the JS examples on the CK Editor website do the same. You've been warned.
  • giphy_small_size_divisor
    • Numeric value indicating how much to divide the original image by when choose the insert small option.
    • Default if not specified is 4 or 25%.
  • giphy_medium_size_divisor
    • Numeric value indicating how much to divide the original image by when choose the insert medium option.
    • Default if not specified is 2 or 50%.
  • giphy_large_size_divisor
    • Numeric value indicating how much to divide the original image by when choose the insert medium option.
    • Default if not specified is 1 or 100%.
  • giphy_double_click_default_size
    • String value that must be either smallmedium, or large.
    • Sets the insert size to use for double click insertion.
    • Default is small.

Browser Support

  • This plugin uses JavaScript constructs added to the language several years ago that are supported by multiple modern browser versions.
  • The JavaScript used by this plugin was NOT compiled back to a version that would support older browsers.
  • This plugin will not work with any version IE and likely not with very old versions of other browsers.

Screenshots

Releases

Plugin versions CKEditor versions
4.25 4.24 4.23

Version: 1.2

DownloadRelease notes

Initial release.

letterBullets

This plugin adds two new buttons to CKEditor: one for the lowercase list and one for the uppercase list. It uses commands to insert an <ol> element with the corresponding type (type="a" or type="A").

Screenshots

Releases

Plugin versions CKEditor versions
4.25 4.24 4.23

Version: 1.0rc

DownloadRelease notes

This plugin adds two new buttons to CKEditor: one for the lowercase list and one for the uppercase list. It uses commands to insert an <ol> element with the corresponding type (type="a" or type="A").

Font Awesome fortyTwo

Font Awesome plugin supporting FA v4 through v6, free and pro.

- icon list pulled from FontAwesome CSS file being used
- Brand checkbox

- styling, effects, transformations and animations available in relation to FA version being used:
  - font styles: solid, regular, light, thin, duotone, and newer sharp
  - FA font-sizes
  - rotate, spin, flip, beat, fade, etc..

Installation

Download and extract the plugin. Upload the /fa42 directory to your editor's /plugins/ directory

* fa42 requires the colordialog plugin, download and install if necessary

Add the plugin(s) to your editor config:

config.extraPlugins = 'colordialog,fa42'

CKEditor tends to remove most empty tags. While the "fix" for this is varied, this seems to work. Note to add the removeEmpty before the actual editor config:

CKEDITOR.dtd.$removeEmpty['i'] = 1; // replace or duplicate if you want to use <span> or any other tag instead of <i>

CKEDITOR.editorConfig = function( config ) { 
//...
}

 

Configuration

By default the plugin will use the <i> tag for icons, and Font Awesome version 6.4 Free from CDN. Configuration options are available to change these settings:

config.fa42 = {
  fa42Tag: 'span', // use <span> instead of <i>
  fa42Path: 'path/to/your/fontawesome.css', // link to a different local or remote version
  fa42Version: '8.4.2', // the plugin will try to auto-detect versioning and free/pro, but you can specify version here if auto-detection seems to not work
  fa42Level: 'pro', // free or pro, again in case auto-detection doesn't work
};

 

 

 

Screenshots

Releases

Plugin versions CKEditor versions
4.25 4.24 4.23

Version: 1.0.2

DownloadRelease notes

Re-coded ES6 JavaScript, validate plugin with CKBuilder

Chat GPT

Write texts for your websites x10 faster with this ChatGPT CKEditor plugin called Txt42 (TextareaAI before).

You can select some text or just place the caret under some header, just a text, or inside a list (it is very smart to understand what you want) and click on the button to ask AI to generate and insert new text into your content. You can also use "Ctrl+Enter" shortcut for this.

The buttons for the toolbar are: "Txt42", "Txt42Less", "Txt42More".

Screenshots

chat-gpt

374 downloads (view stats)

Releases

Plugin versions CKEditor versions
4.25 4.24 4.23

Version: 2023.8.1

DownloadRelease notes

Debug version info added

Cowriter

This plugin generates content with the help of artificial intelligence. It is based on the CKEditor 4. It uses the OpenAI API to generate text.

Installation

Installation with npm

  1. Install the plugin with npm:

     npm install ckeditor-cowriter   
    
  2. Enable the plugin by using the extraPlugins configuration setting. For example:

     config.extraPlugins = 'cowriter';
    

Installation from CDN

  1. Add the following script tag to your HTML page:

     <script src="https://netresearch.github.io/ckeditor-cowriter/plugin.js"></script>
    
  2. Enable the plugin by using the extraPlugins configuration setting. For example:

     config.extraPlugins = 'cowriter';
    

Installation from source

  1. Download the latest release of the plugin.

  2. Extract the contents of the archive into the CKEditor 4 plugins directory.

  3. Enable the plugin by using the extraPlugins configuration setting. For example:

     config.extraPlugins = 'cowriter';
    

Configuration

You need to define your OpenAI credentials.

const OPENAI_KEY = 'YOUR-KEY'
const OPENAI_ORG = 'org-YOUR-ORG-KEY'

Usage

  1. Click on the Cowriter button in the toolbar.
  2. Enter a prompt.
  3. Click on the Generate button.
  4. The generated text will be inserted into the editor.

License

Licensed under the terms of the GNU General Public License, version 3 or later.

Credits

Contributing

We welcome contributions to this project. Please see our contribution guidelines for details.

Security

If you discover any security related issues, please email developer@netresearch.de instead of using the issue tracker!

Contact

Netresearch, the company behind this plugin, is a leading European provider of digital solutions and services for the eCommerce industry. We are a team of eCommerce experts, developers, designers, project managers, and consultants. We are passionate about eCommerce and we love to share our knowledge with the community.

Twitter | LinkedIn | Facebook | Xing | YouTube

Screenshots

cowriter

379 downloads (view stats)

Releases

Plugin versions CKEditor versions
4.25 4.24 4.23

Version: 0.2.7

DownloadRelease notes

Fixed bug with missing translations

HTML <mark> Tag Button

A CKEditor plugin to wrap text with an HTML <mark> Tag

Screenshots

markTag

1,093 downloads (view stats)

Releases

Plugin versions CKEditor versions
4.25 4.24 4.23

Version: 1.1.0

DownloadRelease notes

See on GitHub

FontAwesome6

FontAwesome6 (free) allows you to insert formatted Font Awesome 6 into your text in CKEditor.

Install:

  1. add in your html page all.min.css
  2. add in your config.js from ckeditor folder:
  • config.extraPlugins = 'ckeditorfa';
  • config.allowedContent = true;
  • config.contentsCss = '/{your_path}/all.min.css';

CKEDITOR.dtd.$removeEmpty['span'] = false;
 

For Font Awesome 4.7 use this plugin: https://ckeditor.com/cke4/addon/ckeditorfa-0

For Font Awesome 5.15 use this plugin: https://ckeditor.com/cke4/addon/ckeditorfa5

 

Screenshots

ckeditorfasix

2,136 downloads (view stats)

Releases

Plugin versions CKEditor versions
4.25 4.24 4.23

Version: 2.1

DownloadRelease notes

Upgrade to Font Awesome 6.7.0

ckeditor add class

This plugin allows you to add class to element. In toolbar you can add dropdown to which can have classes. And on selecting value from dropdown class will be added to current selected element.

Screenshots

Releases

Plugin versions CKEditor versions
4.25 4.24 4.23

Version: 1.0.1

DownloadRelease notes

The first minor release 1.0.1

Mathematical Formulas (Tesla)

Introduction:

This plugin is my expansion for current version of Mathematical Formulas plugin. Toolbar is added for creating mathematical formulas faster. Formulas is rended by MathJax. The toolbar UI is based on CodeCogs and modified by us for rendering TeX formulas supported by MathML.

Some features expanded:

+ Toolbar in dialog for create math formulas faster:

  • Create matrix and equation by UI.
  • Insert math symbols easly.
  • ...

+ Fix bug not auto preview in firefox.

Input: laTeX (type or use toolbar)

Output: Use this function in component or script for rendering a formulas

export function formatMathemicalFormulas() {
  (function () {
    // console.log("Style MF called!");
    var script = document.createElement("script");
    script.type = "text/javascript";
    script.src = "//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-AMS_HTML";   // use the location of your MathJax

    var config = 'MathJax.Hub.Config({' +
      'extensions: ["tex2jax.js"],' +
      'jax: ["input/TeX","output/HTML-CSS"]' +
      '});' +
      'MathJax.Hub.Startup.onload();';

    if (window.opera) {
      script.innerHTML = config
    } else {
      script.text = config
    }

    script.addEventListener('load', function () {
      window.MathJax.Hub.Queue(["Typeset", window.MathJax.Hub]);
    })

    document.getElementsByTagName("head")[0].appendChild(script);
  })();
}

 

Setup:

After basic installing, please add mathJaxLib to config:

mathJaxLib: '//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-AMS_HTML'

Additional configuration:

config.mathJaxClass - sets the default class for an element that will be converted into a widget.

Bug:

Currently, this version is lack of language translation.

Another informations:

it is not supported in IE 8.

 

Screenshots

nvd_math

1,545 downloads (view stats)

Releases

Plugin versions CKEditor versions
4.25 4.24 4.23

Version: 1.0.1

DownloadRelease notes

Fix feature not support in ES6.

Bootstrap 4 Embed Media

Bootstrap 4 Embed Media Dialog for ckEditor 4 based on Fabian Vogelsteller's Embed Media Dialog on https://github.com/frozeman/MediaEmbed

Wrap any embed like an <iframe> in a parent element with .embed-responsive and an aspect ratio. The plugin allows you to insert multiple iframes at the same time, managed as separate elements. Bootstrap classes for responsive embed are applied only to iframe, video, embed and object tags. The other tags are not modified in any way.

Screenshots

Bootstrap-Mediaembed

1,195 downloads (view stats)

Releases

Plugin versions CKEditor versions
4.25 4.24 4.23

Version: 1.1

DownloadRelease notes

Correct some bug

Twitter Facebook Facebook Instagram Medium Linkedin GitHub Arrow down Phone Menu Close icon Check