CKEditor WYSIWYG for Gravity Forms


This plugin is an add-on for the Gravity Forms plugin. If you don’t yet own a license for Gravity Forms – buy one now! (affiliate link)

What does this plugin do?

  • allows you to add the CKEditor WYSIWYG to ‚Paragraph Text‘, ‚Body‘ and ‚Custom Field – Paragraph Text‘ fields
  • allows you to add the CKEditor WYSIWYG to the form editor – textarea’s in the field settings will use the CKEditor WYSIWYG
  • options to control which buttons and features are available in the CKEditor WYSIWYG – found in the Gravity Forms -> Settings -> CKEditor menu.

See a demo of this plugin at

Why use CKEditor?

CKEditor is a feature packed WYSIWYG that meets the WCAG 2.0 requirements, providing the best accessibility for your users.

It provides the superior copy-and-paste support for formatted text from Microsoft Word.

This plugin is compatible with the Gravity Forms Data Persistence Add-On Reloaded and Gravity PDF plugins.


Gravity Forms is a trademark of Rocketgenius, Inc.

This plugins is provided “as is” without warranty of any kind, expressed or implied. The author shall not be liable for any damages, including but not limited to, direct, indirect, special, incidental or consequential damages or losses that occur out of the use or inability to use the plugin.

Note: When Gravity Forms isn’t installed and you activate this plugin we display a notice that includes an affiliate link to their website.


  • Shows CKEditor with the default buttons and no character limit applied. The character count appears below CKEditor, showing the number of characters typed (not including spaces).
  • Shows CKEditor with the default buttons and the character limit set to 456 characters. The character count appears below CKEditor, showing the number of characters typed (not including spaces) and the limit.
  • Shows a 'Paragraph Text' field without CKEditor applied. The Gravity Forms default character count has been modified to replicate what is used with CKEditor.
  • Shows the 'Paragraph Text' field in the form editor. The 'Enable WYSIWYG (CKEditor)' is enabled.
  • Shows the WYSIWYG CKEditor settings page where you can configure which buttons are used in CKEditor.
  • Shows the WYSIWYG CKEditor with all the buttons enabled.
  • Shows the WYSIWYG CKEditor where the maximum characters have been met. The character counter shows the limit has been reached by changing to red. The WYSIWYG CKEditor field does not allow more text to be entered when the limit has been reached.


  1. Install plugin from WordPress administration or upload folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‚Plugins‘ menu in the WordPress administration
  3. Open the Gravity Forms ‚Forms‘ menu
  4. Open the form editor for the form you want to add CKEditor to
  5. Either add a new ‚Paragraph Text‘ field or select an existing one
  6. Tick the ‚Enable WYSIWYG (CKEditor)‘ option to enable CKEditor for the field
  7. CKEditor will now be used for the fields you selected
  8. OPTIONAL: Open the Gravity Forms settings page, the WYSIWYG CKEditor menu to select the buttons you want used in CKEditor


What are the default buttons

By default a limited number of the CKEditor buttons are used. These are:

  • Kühn
  • Italic
  • Unterstreichen
  • Als Text einfügen
  • Paste from word
  • Nummerierte Liste
  • Aufzählung
  • Ausrücken
  • Einrücken
  • Verknüpfung
  • Link aufheben
  • Formulaire
  • Schriftart
  • Schriftgröße
How do I enable more buttons?

Open the Gravity Forms settings menu and select the WYSIWYG CKEditor menu.

Here you will find a list of all the available buttons that can be added to the CKEditor.

Open the Gravity Forms settings menu and select the WYSIWYG CKEditor menu.

Here you will find a list of all the available buttons that can be added to the CKEditor.

What version of CKEditor does this use?

This plugin is currently using CKEditor 4.11.3

How does the character counter work?

The character counter works by using the ‚wordcount‘ CKEditor plugin.

The plugin will use the ‚Maximum Characters‘ configured for the field in the Gravity Forms form editor.

Most importantly, the plugin will only count characters – not spaces or formatting (HTML markup).

Does this support image uploading?

No – not at this point in time.

How to disable the CKEditor from appearing in the form editor

As of version 1.5.0 the CKEditor is applied in the back end form editor.

textarea’s in side each field edit window will use the CKEditor automatically. For example, the ‚Field description‘ box will have the CKEditor applied.

These fields support HTML, however Gravity Forms does not provide a WYSIWYG visual editor, requiring the person creating the form to manually enter the HTML.

By using CKEditor you are making form creating much easy and providing better formatting options for your field descriptions.

There is a drawback – the CKEditor has an overhead when it needs to load, as well as when you type it needs to send the changes to the field settings.

If this is creating issues for you, or you do not need this feature, you can disable it by going to the Gravity Forms settings menu, then opening WYSIWYG ckeditor menu, unticking the ‚Enable in form editor‘ option and saving the settings.

Help! The HTML formatting is lost in woocommerce

woocommerce will automatically strip the HTML from the field data.

I can’t say why they do this, maybe it’s for a good reason? But I can provide this code that stops the HTML from being stripped.

add_filter( 'woocommerce_gforms_strip_meta_html', 'configure_woocommerce_gforms_strip_meta_html' );
function configure_woocommerce_gforms_strip_meta_html( $strip_html ) {
    $strip_html = false;
    return $strip_html;
What CKEditor plugins are installed?

This plugin uses the ‚full package‘ version of CKEditor as well as a handful of other important CKEditor plugins.

The additional CKEditor plugins are:


Great plugin, great support

Plugin worked as-described - just what I was looking for! Found a bug and reported it via the support forums and the author quickly jumped on releasing a fixed version.

It doesn't work

When I install it, not open fields added options Any solution? It seems to have confict

Nice Plugin

At first after several tries this didn't work but eventually i discovered that on my site it only shows on gravity forms if i deactivate for comments. I am glad it works as this is a very useful plugin to have.
Lies alle 8 Rezensionen

Mitwirkende & Entwickler

„CKEditor WYSIWYG for Gravity Forms“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:




  • Feature: Upgrade CKEditor to 4.11.3
  • Fix: Fix images not uploading in CKEditor
  • Maintenance: general code tidy up and testing


  • Fix: Resolve issue with Ckeditor enabled fields being correctly displayed when using conditional logic (hidden -> show would result in Ckeditor not enabling)


  • Feature: Upgrade CKEditor to 4.10.1
  • Fix: Remove „Gravity Forms not installed“ warning when installed to custom directory
  • Maintenance: Remove redundant JavaScript function – StartDeleteFieldoldCK


  • Fix: Upgrade CKEditor to 4.9.2. Includes security patch to resolve XSS vulnerability


  • Fix: resolve issue with displaying CKEditor in smaller screens (less than 600px wide). Issue caused by conflicting Gravity Forms CSS.


  • Feature: Upgrade CKEditor to 4.6.2
  • Fix: resolve issue with displaying CKEditor in smaller screens (less than 600px wide). Issue caused by conflicting Gravity Forms CSS.



  • Fix: Repackage with additional ‚moono‘ skin – missing since version 1.11.0


  • Feature: Upgrade CKEditor to 4.6.2
  • Feature: Add option to make character counter include spaces (default remains to NOT count spaces as characters). See ‚Count spaces as characters‘ option in Gravity Forms -> Settings -> CKEditor menu.
  • Fix: Resolve issue where standard Gravity Forms paragraph field (not CKEditor enabled) would not count spaces correctly.


  • Fix: resolve issue with CKEditor not loading when ‚Media (oEmbed) Plugin‘ option is enabled (additional plugin ‚widgetselection‘ now required to support oEmbed)


  • Feature: Add option to choose between two different skins – Moono-Lisa or Moono (the two default skins provided by CKEditor)


  • Feature: Upgrade CKEditor to 4.6.1 (NOTE: the skin changed in CKEditor 4.6 to Moono-Lisa – the editor will look slightly different)
  • Feature: Add option to control link target – choose whether links created in the editor open in the current window or a new window when clicked
  • Feature: Add option to control the default height of CKEditor when it first loads. Default is 200px.
  • Feature: Set spell check as you type (SCAYT) to be automatically enabled when the toolbar option is added.
  • Feature: Add options to specify spell check as you type (SCAYT) language (note this are limited to the languages supported by CKEditor).


  • Fix: Provide support for PHP installs without mbstring extension – resolve Call to undefined function mb_convert_encoding() error.


  • Fix: Resolve issue server side character count incorrectly counting HTML encoded characters (e.g. an ampersand (&) was being counted as five characters instead of one – &)


  • Fix: Resolve conflict with Gravity Forms 2.1.1 +. When a character limit is applied the form user could not submit up to the full character limit.


  • Feature: Add ability to remove the element path. This is the ‚body p‘ seen at the bottom of the WYSIWYG. Feedback has indicated that many non-technical users are confused by this and it is of little value. To disable see the ‚Remove elements path (body p)‘ option in the CKEditor settings page.


  • Fix: Resolve issue with CKEditor not loading in Form Editor – occurred when form first created or not paragraph fields were CKEditor enabled.


  • Feature: Update CKEditor to version 4.5.11
  • Fix: Resolve issue with CKEditor not working in the form editor


  • Feature: Add preview image in form editor so you can easily see which fields are CKEditor enabled
  • Feature: In entry column view, render a 140 characters of field value with HTML mark-up – previously displayed HTML tags.
  • Feature: Make it so a CKEditor enabled field cannot be disabled where entry data exists (doing this would result in garbage data for existing entries)
  • Feature: Update CKEditor to version 4.5.10 and updated plugins to latest version
  • Fix: Patch to allow scripts to enqueue when loading Gravity Form through wp-admin. Gravity Forms currently has a limitation that stops the required scripts from loading through the addon framework.
  • Fix: Better handling of new Gravity Forms visual editor option to avoid conflicts
  • Maintenance: Handle JavaScript and CSS through Gravity Forms addon framework
  • Maintenance: Move JavaScript and CSS to external files
  • Maintenance: Add minified JavaScript and CSS
  • Maintenance: Confirm working with WordPress 4.6.0 RC1
  • Maintenance: Update to improve support for Gravity Flow plugin


  • MAINTENANCE: Update CKEditor to version 4.5.9.
  • MAINTENANCE: Run HTML output from WYSIWYG enabled fields through wp_kses_post for added security.
  • MAINTENANCE: Tested against Gravity Forms 2.0 RC1.
  • MAINTENANCE: Tested against Gravity PDF 4.0 RC4.


  • FIX: Change short PHP open tag to full open tag.
  • MAINTENANCE: Automatically remove characters from uploaded images that may break cross-system compatibility (e.g. < > | 🙂


  • MAINTENANCE: Update CKEditor to version 4.5.8.
  • MAINTENANCE: Update plugin to support PHP version 5.2.


  • MAINTENANCE: Improve support for ‚Product‘ type fields in the back-end form editor.
  • FIX: Resolve issue with undefined variables where settings page has not been used.


  • FIX: Add ’notification‘ plugin, required by wordcount plugin from version 1.14.


  • FIX: Update CKEditor wordcount plugin to version 1.14 to resolve issue with CKEditor not loading in Greek language browsers.


  • FIX: Better handling of character limit script for CKEditor enabled fields.


  • FIX: Resolve ‚array_key_exists() expects parameter 2 to be array‘ error that occurred on submitting a form.
  • MAINTENANCE: Improve translation support.
  • MAINTENANCE: Tidy up of PHP code, working towards using WordPress standards.


  • FEATURE: Add support for uploading and attaching images inside the WYSIWYG. ‚Image upload‘ needs to be enabled in the WYSIWYG CKEditor settings page. The upload process is managed through the built in CKEditor image plugin – the ‚image‘ button.
  • FEATURE: Add support for the future release of Gravity PDF 4.x
  • FEATURE: Add the ability to override the Gravity Forms ‚Enable No-Conflict‘ option.
  • FEATURE: Upgrade CKEditor to version 4.5.7.


  • FIX: Resolve issue with editing fields in the form editor when ‚Enable in form editor‘ option is enabled. It appears that some users have the Gravity Forms ‚No-Conflict Mode‘ enabled. This option breaks third party plugins that rely on scripts to be loaded. IF YOU HAVE THIS OPTION ENABLED THE CKEDITOR WILL NOT LOAD IN THE FORM EDITOR OR ENTRY EDITOR.


  • FIX: Attempt to resolve issue with editing fields in the form editor when ‚Enable in form editor‘ option is enabled.
  • FEATURE: Added support for the ‚Default Value‘ field option.
  • FEATURE: Add ‚Settings‘ link to plugin on the WordPress installed plugins page.


  • FIX: Resolve issue with character counter when the ‚Gravity Forms Data Persistence Add-On Reloaded‘ plugin is also installed.
  • FIX: Resolve issue with ‚File Upload‘ field breaking in the form editor when the ‚Enable Multi-File Upload‘ option is used.


  • FIX: Resolve issue with Gravity Forms 1.9.15 and above not displaying HTML field content correctly in the entry editor, gravity PDF and using GravityWiz better pre-confirmation.


  • MAINTENANCE: Change is_wysiwyg_ckeditor() function from private to public to allow developers to check for a CKEditor enabled field.


  • FIX: Resolved issue with CKEditor loading on number field ‚enable calculation‘ textarea.
  • MAINTENANCE: Added blank index.php file to plugin directory to ensure directory browsing does not occur. This is a security precaution.
  • MAINTENANCE: Added ABSPATH check to plugin PHP files to ensure PHP files cannot be accessed directly. This is a security precaution.
  • FEATURE: Added ‚.wysiwyg_exclude‘ exception to JavaScript that targets textarea fields and enables CKEditor. This allows form creators and plugin developers to use this class if they do not want the CKEditor to be applied to a textarea (paragraph) field.


  • FIX: Resolve issue with character count not appearing in some browsers (e.g. Internet Explorer). The character count now appears in the grey box below CKEditor, previously it appeared below they grey box.


  • FEATURE: Added Media (oEmbed) Plugin (can be enabled in the settings page). This also required adding the lineutils, dialog and widget plugins. More information on this plugin can be found here:
  • FEATURE: Added support for text translation – uses ‚gravity-forms-wysiwyg-ckeditor‘ text domain.
  • FIX: Resolve issue with CKeditor loading on drop down field ‚Bulk Add / Predefined Choices‘ window in form editor.
  • FIX: Resolve issue with CKeditor attempting to load when viewing ‚Forms‘ page or form settings pages in wp-admin.


  • FIX: Resolve issue with field settings not expanding after removing a field in the form editor.


  • FIX: Resolve issues with CKeditor not loading for single page forms.
  • MAINTENANCE: Further improvements to JavaScript that handles CKeditor in the form editor.


  • FEATURE: Add support for multisite WordPress installations.
  • MAINTENANCE: Improve JavaScript that handles CKeditor in the form editor.


  • Feature: add CKeditor support for the form editor. textarea fields which are included in the field settings will automatically use the CKeditor – this can be disabled from the CKEditor WYSIWYG settings page.
  • Maintenance: resolve various PHP errors that were appearing in debug mode, but did not affect functionality.
  • Maintenance: improve performance of CKeditor enabled fields by only applying CKeditor to fields on the current displayed page.
  • Maintenance: improve how plugin default settings are handled – changed so settings are automatically saved to the database when first running the plugin, instead defaults are stored in an array and combined with any existing settings.


  • Maintenance: Upgrade CKEDITOR to Version 4.5.2 – FULL (4 Aug 2015). Version 1.3.0 inadvertently included the CKEDITOR STANDARD – which does not include some of the formatting options.


  • Fix: Resolve issue with plugin attempting to load before Gravity Forms has loaded, making this plugin not function.
  • Fix: Change JavaScript to allow CKEDITOR enabled fields to work in ajax enabled multi-page forms.
  • Maintenance: Upgrade CKEDITOR to Version 4.5.2 (4 Aug 2015). See CKEDITOR change log for full detail
  • Maintenance: Change plugin name from ‚Gravity Forms – WYSIWYG CKEditor‘ to ‚CKEditor WYSIWYG for Gravity Forms‘


  • Fix: Make CKEditor only apply to WYSIWYG enabled fields in the entry editor screen. Was previously incorrectly applied to all paragraph (textarea) form fields.


  • Feature: Add CKEditor support for entry editor screen – seen when editing entries with WYSIWYG enabled paragraph fields.
  • Fix: Added function to remove blank lines between paragraphs when field is saved. This improves how the field is displayed in the entry editor screen and improves compatibility with GravityPDF.
  • Maintenance: General tidy up of PHP layout. Use wp_enqueue_script for JS files.


  • Fix: Moved jQuery script to footer to resolve errors where it loaded before jQuery was ready.


  • Fix: add space in textarea between ‚data-maxlen‘ and ’name‘ attributes. All browsers worked without the space, but was technically invalid HTML.


  • Feature: extended to work with ‚Body‘ field (found under ‚Post Fields‘ tab) and ‚Custom Field – Paragraph Text‘ field (found under ‚Post Fields‘ tab).


  • Fix: resolve issue that caused the ‚Strength Indicator‘ in the Gravity Forms ‚Password‘ field to not work.


  • First public release.