Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 8, 20241 yr Community Expert Trying to use the Code button in the editor on this site throws a JS error in the browser's console: Quote VM493:2390 Uncaught SyntaxError: Unexpected token 'if' at m (root_library.js.gz?v=d815db93211709847832:2:880) at Function.globalEval (root_library.js.gz?v=d815db93211709847832:2:3031) at text script (root_library.js.gz?v=d815db93211709847832:2:80933) at root_library.js.gz?v=d815db93211709847832:2:77288 at l (root_library.js.gz?v=d815db93211709847832:2:77405) at XMLHttpRequest.<anonymous> (root_library.js.gz?v=d815db93211709847832:2:80204)
March 8, 20241 yr Author Community Expert Because of the error the code button popup keeps loading indefinitely and you can't insert any code in the editor.
March 8, 20241 yr Same thing happens for me in ACP when editing templates etc. The codemirror.js is missing semicolons in few places, had to patch it up to edit my theme.
March 8, 20241 yr Community Expert Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.
March 12, 20241 yr This issue has been resolved in the recently released 4.7.16 version. Please update your site if you are still experiencing the issue, and let us know if you see any reoccurrence.