Added suppor to validating editor for read only mode.