typo code mirror readOnly