Title: Cannot add or edit snippet code
Last modified: October 18, 2022

---

# Cannot add or edit snippet code

 *  Resolved [bruceki](https://wordpress.org/support/users/bruceki/)
 * (@bruceki)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cannot-add-or-edit-snippet-code/)
 * Hi, I am unable to add or edit code snippets. The code area on the snippet page
   will not allow text to be added. In snippets where I do have code the code flashes
   on the screen for a split second and the edit box turns white. The snippets appear
   to be working but cannot be edited. The plugin worked prior to the upgrade.
 * Text can be added to the title and description boxes, just not the code. That
   is for PHP as well as HTML snippets.
 * The version is 3.2.1, WordPress 6.03.
 * Where can I download the previous version of code snippets?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Shea Bunge](https://wordpress.org/support/users/bungeshea/)
 * (@bungeshea)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cannot-add-or-edit-snippet-code/#post-16116854)
 * It sounds like there might be a different copy of the CodeMirror plugin loaded
   which is causing conflicts.
 * Does this error still occur with other plugins deactivated?
 *  [ivanpilien](https://wordpress.org/support/users/ivanpilien/)
 * (@ivanpilien)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cannot-add-or-edit-snippet-code/#post-16120454)
 * I have the exact similar issue. Any update on this? Thanks!
 *  [ivanpilien](https://wordpress.org/support/users/ivanpilien/)
 * (@ivanpilien)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cannot-add-or-edit-snippet-code/#post-16120478)
 * [@bruceki](https://wordpress.org/support/users/bruceki/) here is the link to 
   the previous versions of the plugin if youre still interested. [https://wordpress.org/plugins/code-snippets/advanced/](https://wordpress.org/plugins/code-snippets/advanced/)
 *  [guillermodewey](https://wordpress.org/support/users/guillermodewey/)
 * (@guillermodewey)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/cannot-add-or-edit-snippet-code/#post-16122628)
 * Having the same issue. WordPress 6.03 and Code Snippets 3.2.1. I disabled all
   plugins but Code Snippets but still throws a JS error.
 *  [RJ Ramey](https://wordpress.org/support/users/garimemecom/)
 * (@garimemecom)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/cannot-add-or-edit-snippet-code/#post-16245784)
 * I was having this buggy behavior, too, even though both WP and Code Snippets 
   have a new version out.
    WordPress 6.1.1 + Code Snippets 3.2.2 -AND- WordPress
   6.1.1 + Code Snippets 3.2.1 have this bug.
 * I had to downgrade to CodePress 3.1.1 to get back to normal.
 * Then I saw [this thread](https://wordpress.org/support/topic/the-editor-is-blank/)
   and [this one](https://wordpress.org/support/topic/the-editor-is-blank-2/), which
   mentions clearing Memcached. That solves the problem, and I can again use Code
   Snippets 3.2.2.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Cannot add or edit snippet code’ is closed to new replies.

 * ![](https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878)
 * [Code Snippets](https://wordpress.org/plugins/code-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/code-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-snippets/reviews/)

 * 5 replies
 * 6 participants
 * Last reply from: [RJ Ramey](https://wordpress.org/support/users/garimemecom/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/cannot-add-or-edit-snippet-code/#post-16245784)
 * Status: resolved