MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / isReadOnly

Function isReadOnly

static/js/codemirror/codemirror.js:1397–1399  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

1395 }
1396
1397 function isReadOnly(cm) {
1398 return cm.options.readOnly || cm.doc.cantEdit;
1399 }
1400
1401 // EVENT HANDLERS
1402

Callers 5

readInputFunction · 0.85
onMouseDownFunction · 0.85
onDropFunction · 0.85
doHandleBindingFunction · 0.85
onKeyPressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected