laurdit Thanks for the question! I copy the SVG from the saved .svg file, excluding the stuff in the beginning like<?xml version="1.0" encoding="UTF-8" standalone="no"?>
and comments. I don't think Inkscape has the option to just copy the SVG-gode.
I added more details above, let me know if you have more questions!