Codemirror is not showing links to switch the highlighter even if prefs is correctly set
- Status
- Closed
- Subject
- Codemirror is not showing links to switch the highlighter even if prefs is correctly set
- Version
- 23.x
- Category
- Regression
- Usability
- Dogfood on a *.tiki.org site
- Feature
- Syntax highlighter (Codemirror)
- Resolution status
- Invalid
- Submitted by
- Xavier de Pedro
- Lastmod by
- Xavier de Pedro
- Rating
- Description
Codemirror is not showing links to switch the highlighter even if the preference is correctly set to do so.
Tried using firefox and chrome, with my user "xavi" (no admin rights) and "xavidp" (admin rights): same effect.
The preference is still set as
Configuration Wizard > Set up Text Area > Syntax highlighter (CodeMirror) Theme > "Off (but switchable)"- Solution
- It was an invalid report, because the global preference for the codemirror feature was set to off, and I just looked and the second preference which applies only to tikis where the global pref of codemirror is on.
- Workaround
Related: (taken from comments)
- new pref to disable codemirror in page view mode but allow to "Off (but switchable)"
- new pref to set codemirror lazy mode below each textarea, so that the user can click there to get the highlighting on per textarea where the interest is for that user?. See
https://codemirror.net/demo/loadmode.html
- new codemirror lazy-load (like in images). Already implemented maybe elsewhere?
https://gist.github.com/mustafa0x/2276550
- Importance
- 5
- Easy to solve?
- 5
- Priority
- 25
- 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
- 7792
- Created
- Thursday 29 July, 2021 12:08:02 UTC
by Xavier de Pedro - LastModif
- Friday 30 July, 2021 08:24:03 UTC