Skip Navigation

[Resolved] missing semicolon in codemirror js ver 5.5.0

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 1 year, 2 months ago.

Assisted by: Waqar.

Author
Posts
#2642763

Hi,

i use a plugin for minifing my code and maybe found a problem: in /wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/visual-editor/res/js/codemirror/lib/codemirror.js?ver=5.5.0:250 is written "var nonASCIISingleCaseWordChar = /[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/" without a trailing semicolon.
So ist becomes " ... ]/function ..." in a minify stadium wich ends in an error.

Best

#2642991

Hi,

Thank you for contacting us and I'd be happy to assist.

The file that you refer to is part of a third-party library coming from:
hidden link

Even if we include this change in the file that is part of our plugin, the future versions of that library will still have the same code.

For this reason, it is best to report this to 'codemirror' so that it can be fixed/improved in future versions too. For your particular website, you can make the change in the Toolset Form plugin's core file.

regards,
Waqar