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
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- 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