Made wrapNode() and wrapSiblings() work in the case where there is no parent node
Made wrapNode() and wrapSiblings() work in the case where there is no parent node

corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editor