Explain commands' readOnly option

This commit is contained in:
Adrian Longley 2012-12-19 17:37:24 +00:00
commit b5e586796d

View file

@ -343,7 +343,8 @@ editor.replace('bar');</code></pre>
bindKey: {win: 'Ctrl-M', mac: 'Command-M'},
exec: function(editor) {
//...
}
},
readOnly: true // false if this command should not apply in readOnly mode
});</code></pre>
</div>