Merge pull request #1166 from featurist/master

Explain commands' readOnly option
This commit is contained in:
Harutyun Amirjanyan 2012-12-19 23:17:33 -08:00
commit 8204485400

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>