code: public void initInlineEditor(final CmsContainerpageController controller) {
  
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(m_noEditReason)
              && !m_disableNewEditor
              && CmsContentEditor.setEditable(getElement(), CmsContainerpageController.getServerId(m_clientId), true)) {
              if (m_editorClickHandlerRegistration != null) {
                  m_editorClickHandlerRegistration.removeHandler();
              }
              m_editorClickHandlerRegistration = Event.addNativePreviewHandler(new NativePreviewHandler() {
  
                  public void onPreviewNativeEvent(NativePreviewEvent event) {
  
                      if (event.getTypeInt() == Event.ONCLICK) {
                          // if another content is already being edited, don't start another editor
                          if (controller.isContentEditing()) {
                              return;
                          }
                          Element eventTarget = event.getNativeEvent().getEventTarget().cast();
                          // check if the event target is a child
                          if (getElement().isOrHasChild(eventTarget)) {
                              Element target = event.getNativeEvent().getEventTarget().cast();
                              // check if the target closest ancestor drag element is this element
                              Element parentContainerElement = CmsDomUtil.getAncestor(
                                  target,
                                  I_CmsLayoutBundle.INSTANCE.dragdropCss().dragElement());
                              if (parentContainerElement == getElement()) {
                                  while ((target != null)
                                      && !target.getTagName().equalsIgnoreCase("a")
                                      && (target != getElement())) {
                                      if (CmsContentEditor.isEditable(target)) {
                                          CmsEditorBase.markForInlineFocus(target);
                                          controller.getHandler().openEditorForElement(
                                              CmsContainerPageElementPanel.this,
                                              true,
                                              isNew());
                                          removeEditorHandler();
                                          event.cancel();
                                          break;
                                      } else {
                                          target = target.getParentElement();
                                      }
                                  }
                              }
                          }
                      }
                  }
              });
          }
      }
docs: Initializes the editor click handler.<p>
  
  @param controller the container page controller instance