Skip Navigation

[Gelöst] missing semicolon in codemirror js ver 5.5.0

This support ticket is created vor 1 Jahr, 2 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Waqar vor 1 Jahr, 2 Monaten.

Assistiert von: Waqar.

Author
Artikel
#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:
versteckter 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