disable editing ace code edior code example Example: disable editing ace code edior // Ace Code Editor set to readonly editor.setReadOnly(true)