editor readonly mode support