Add ReadonlyProtect to repository/r.json

Auto protect read-only file against input and toggle editable from tab or context menu.