Change string literals for resizeEditor() arg to constants