Mattias Hamberg

Results 3 comments of Mattias Hamberg

This script in the head makes it work: ~~~ window.onload = function() { let codemirror = document.createElement('script'); codemirror.src = 'https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.48.2/codemirror.min.js'; document.head.appendChild(codemirror); codemirror.onload = function() { let codemirrors = document.querySelectorAll('.CodeMirror'); codemirrors.forEach(function(codemirror)...

Now you also have to add jQuery for the script to work: ``` window.addEventListener('DOMContentLoaded', () => $('.page-content').find('table').wrap('').parent().css({'overflow-x': 'auto'})); ```