Loading...
 
Skip to main content

Minify JavaScript breaks codemirror in doc.t.o 18.x

Status
Closed
Subject
Minify JavaScript breaks codemirror in doc.t.o 18.x
Version
18.x
18.x Regression
Category
  • Conflict of two features (each works well independently)
  • Error
  • Regression
  • Usability
  • Dogfood on a *.tiki.org site
  • Support request
Feature
Performance / Speed / Load / Compression / Cache
Syntax highlighter (Codemirror)
Resolution status
Works For Me
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro, Jonny Bradley, Marc Laporte
Rating
(0)
Description

Minify JavaScript breaks codemirror in doc.t.o 18.x.
Once minify js is disabled in the performance control panel, syntax highlighting works again as expected.
I detected it comparing the settings in dev.t.o (where codemirror worked as expected) and doc.t.o (where it didn't; and codemirror modes dropdown, when attempting to change highlighter, showed "null").
HTH

Solution

I think this was fixed a couple of months ago by reverting to an older version of the minify library (needs sorting out for tiki 19 though)

Please confirm 😊

Importance
4
Easy to solve?
8
Priority
32
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6608
Created
Sunday 01 April, 2018 11:40:02 UTC
by Xavier de Pedro
LastModif
Thursday 19 July, 2018 23:39:21 UTC


Show PHP error messages