? Pending

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
10 Aug 2018

Pull Request for Issue #21451 .

Summary of Changes

We shall set the mode option by mime rather than by mode name. Because some modes such as 'less' are considered 'css' by Codemirror but are differentiated by mime type.

Testing Instructions

Open a less file with Codemirror. Before the patch it should be highlighted like css, after it will use less syntax highlighting. Auto formatting (select a block of code and hit shift-tab) should also be affected.

Probably also test some html, css, and js code to make sure it's still working as expected.

Expected result

Syntax highlighting and auto-formatting will work according to whatever language is being displayed.

Actual result

Well, it wasn't for 'less' and possibly some others.

Documentation Changes Required

Nope.

avatar okonomiyaki3000 okonomiyaki3000 - open - 10 Aug 2018
avatar okonomiyaki3000 okonomiyaki3000 - change - 10 Aug 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Aug 2018
Category Front End Plugins
avatar okonomiyaki3000
okonomiyaki3000 - comment - 10 Aug 2018

Don't believe appveyor. He's a dirty liar.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 10 Aug 2018

:-)
screen shot 2018-08-10 at 06 28 04

avatar ggppdk ggppdk - test_item - 10 Aug 2018 - Tested successfully
avatar ggppdk
ggppdk - comment - 10 Aug 2018

I have tested this item successfully on 3d3e4ce


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21515.

avatar forrestkirby forrestkirby - test_item - 10 Aug 2018 - Tested successfully
avatar forrestkirby
forrestkirby - comment - 10 Aug 2018

I have tested this item successfully on 3d3e4ce


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21515.

avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Aug 2018
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 10 Aug 2018

Ready to Commit after two successful tests.

avatar mbabker mbabker - change - 18 Aug 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-08-18 15:54:23
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 18 Aug 2018
avatar mbabker mbabker - merge - 18 Aug 2018

Add a Comment

Login with GitHub to post a comment