Update jQuery and Ace Editor
See original GitHub issueThe latest CDN version of jQuery version 2 is 2.2.4, while we are on 2.1.1. Do we want to switch to jQuery 3? Compatibility with materialize and the Ace Editor would need to be tested though.
The safe route would be to just update jQuery with:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
Regarding the Ace Editor we are on version 1.2.6, the latest CDN version is 1.2.8. This should be updated.
@jmart518 do you want to take care of this while you’re at it? 😃
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to change value for jquery-ace code editor text area?
You can get ace instance from jquery wrapper using var editor = $('.my-code-area').data('ace').editor.ace. and then call editor.
Read more >jQuery-ace - GitHub Pages
What is jQuery-ace? It's a jQuery plugin which allows to embed ACE Code Editor into any chosen div or textarea. How to install...
Read more >Ace - The High Performance Code Editor for the Web
Ace is an embeddable code editor written in JavaScript. It matches the features and performance of native editors such as Sublime, Vim and...
Read more >ajaxorg/ace: Ace (Ajax.org Cloud9 Editor) - GitHub
Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the...
Read more >HTML Editor Syntax Highlighter (Updated 2022-03-09... - Page 2
A userscript the "replaces" the HTML Editor with an Ace Editor (https://ace.c9.io/) and utilizes JS-Beautify to "beautify" the HTML in the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You are right. Had the dev-flag still on and was looking at the old version. With the new materialize the modals are broken. There are no JavaScript errors. Maybe switching to jQuery 3 will fix this. Who knows, maybe the new materialize has 3 as a requirement.
I’m not sure if it’s easy to test wth hassio. My guess would be, that modifying he files could lead to issues with persistence, just like you experience them.
My suggestion would be, to just test the configurator on a different machine. I have it running on Windows while developing, and it should also work on Macs without any issue. It’s designed to be cross-platform. Or at least should be.
The new materialize is working for me. Before merging I’ve pulled the changes to my pi. Looking at the filebrowser and clicking around a bit all worked like it should.