Skip Navigation

[Résolu] missing semicolon in codemirror js ver 5.5.0

This support ticket is created Il y a 1 année et 2 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Waqar Il y a 1 année et 2 mois.

Assisté par: Waqar.

Auteur
Publications
#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:
lien caché

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