Add editor for contract