add snap feature to actionEditor