def extractContents(self):
        res = self.m_document.createSpanElement()
        self.extractContents(res)
        return res
Place the contents of this range into a SPAN element, removing them
dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/selection/Range.py/Range.extractContents