From b5e586796de50980be2529acc3f19e2c5ec6e613 Mon Sep 17 00:00:00 2001 From: Adrian Longley Date: Wed, 19 Dec 2012 17:37:24 +0000 Subject: [PATCH] Explain commands' readOnly option --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 3075bc3f..40da8ed3 100644 --- a/index.html +++ b/index.html @@ -343,7 +343,8 @@ editor.replace('bar'); bindKey: {win: 'Ctrl-M', mac: 'Command-M'}, exec: function(editor) { //... - } + }, + readOnly: true // false if this command should not apply in readOnly mode });