MCPcopy Index your code
hub / github.com/marijnh/Eloquent-JavaScript / hideEditorControls

Function hideEditorControls

src/client/ejs.mjs:277–280  ·  view source on GitHub ↗
(editor)

Source from the content-addressed store, hash-verified

275 }
276
277 function hideEditorControls(editor) {
278 let controls = editor.dom.parentNode.querySelector(".editor-controls")
279 if (controls) controls.remove()
280 }
281
282 let sandboxSnippets = {}
283 {

Callers 1

activateCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected