rollup behavior makes svgEditor global variable inaccessible -> dist does not work. This fix is temporary by removing use of the variable until we solve this rollup config issue or find a different approach