MCPcopy Create free account
hub / github.com/TruthHun/BookStack / isReadOnly

Function isReadOnly

static/editor.md/lib/codemirror/lib/codemirror.js:1070–1072  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

1068 }
1069
1070 function isReadOnly(cm) {
1071 return cm.options.readOnly || cm.doc.cantEdit;
1072 }
1073
1074 // This will be set to an array of strings when copying, so that,
1075 // when pasting, we know what kind of selections the copied text

Callers 4

codemirror.jsFile · 0.70
leftButtonDownFunction · 0.70
onDropFunction · 0.70
doHandleBindingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected