Sha256: 6ba8cc22ef3bd18d3a7dce50777825dd0c33f72eec5bf66cac7418e52b21c4a6
Contents?: true
Size: 422 Bytes
Versions: 2
Compression:
Stored size: 422 Bytes
Contents
import CodeMirror from "codemirror" import "codemirror/mode/css/css" import "codemirror/keymap/sublime" import "codemirror/lib/codemirror.css"; document.addEventListener("DOMContentLoaded", () => { document.querySelectorAll(".awesome-edit-config .scoped_styles_container textarea").forEach((el) => { CodeMirror.fromTextArea(el, { lineNumbers: true, mode: "css", keymap: "sublime" }); }) });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-decidim_awesome-0.11.2 | app/packs/src/decidim/decidim_awesome/admin/codemirror.js |
decidim-decidim_awesome-0.11.1 | app/packs/src/decidim/decidim_awesome/admin/codemirror.js |