Add editor support for min and max properties. Fixes #45