docs: protected void openEditorForNewElement(
          org.opencms.ade.containerpage.client.ui.CmsContainerPageElementPanel element,
          CmsContainerElement newElementData,
          boolean inline) {
  
          String oldId = element.getNewType();
          element.setNewType(null);
          if (inline) {
              String newId = getServerId(newElementData.getClientId());
              CmsContentEditor.replaceResourceIds(element.getElement(), oldId, newId);
          }
          element.setId(newElementData.getClientId());
          element.setSitePath(newElementData.getSitePath());
  
          setPageChanged();
          getHandler().hidePageOverlay();
          getHandler().openEditorForElement(element, inline, true);
      }