Skip Navigation

[Resolved] CodeMirror conflict between CRED Forms and Essential Grid plugin

This support ticket is created 4 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by nicholasF-3 4 years, 3 months ago.

Author
Posts
#1800571
Screenshot 2020-10-05 at 15.52.46.png

Hi - I'm getting a console error when editing a Form - TypeError: CodeMirror.overlayMode is not a function (copied below).
I am unable to edit the form - the Form Editor section is empty and the Settings section does not bring forward Post Type and Status from the saved Form (see attached screenshot).
I've narrowed down the cause of the conflict to between Cred Forms and Theme Punch's Essential Grid plugin. Both plugins running latest versions Toolset 2.6.1 and Essential Grid 3.0.7.
Although you have managed CodeMirror conflicts with other plugins in the past - I couldn't see anything exactly the same as this issue in your archives.
Thanks

TypeError: CodeMirror.overlayMode is not a function. (In 'CodeMirror.overlayMode(CodeMirror.getMode(config, parserConfig.backdrop || "text/html"), shortcodesOverlay)', 'CodeMirror.overlayMode' is undefined)
codemirror_shortcodes_overlay — codemirror_shortcodes.js:202
qe — utils.min.js:1:12799
Tn — utils.min.js:1:77059
Nn — utils.min.js:1:78720
ws — utils.min.js:1:131598
ws — utils.min.js:1:127762
(anonymous function) — utils.min.js:1:168846
toggleCodeMirror — icl_editor_addon_plugin.js:1117
codemirror — icl_editor_addon_plugin.js:1160
(anonymous function) — editor.prototype.js:188
(anonymous function) — editor.prototype.js:272
(anonymous function) — editor.prototype.js:75
(anonymous function) — editor.prototype.js:891
(anonymous function) — main.js:26
(anonymous function) — main.js:32
i — load-scripts.php:2:27368
fireWith — load-scripts.php:2:28123
ready — load-scripts.php:2:29926
J — load-scripts.php:2:30282
#1800811

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Nick

We've another couple of reports from clients about this. I've escalated it internally, but the feedback we've had is that Essential Grid are in the process of fixing the issue, although I don't know when an update will be published that resolves the problem.

I've added your thread to our internal ticket for tracking.

#1801789

Thanks Nigel - I'll wait for a fix.