export default function reduceChangeElementPath(state, { elementPath, newElementPath }) {
  const element = state.getIn(elementPath);

  return state.setIn(newElementPath, element);
}

@@ -131,53 +131,240 @@
 h);%0A
-%0A  return state.setIn(newElementPath, element
+  const treeWithElementAtNewElementPath = state.setIn(newElementPath, element);%0A%0A  // Return tree with element at new element path, with value at old element path deleted%0A  return treeWithElementAtNewElementPath.deleteIn(elementPath
 );%0A%7D

Remove element from old path after moving it to new path