Set editor read-only if text-area is read-only