build gallery-sm-editor