code: public void actionCleanupBodyElement() {
  
          try {
              // save eventually changed content of the editor to the temporary file
              Locale oldLocale = CmsLocaleManager.getLocale(getParamOldelementlanguage());
              performSaveContent(getParamOldelementname(), oldLocale);
          } catch (CmsException e) {
              // show error page
              try {
                  showErrorPage(this, e);
              } catch (JspException exc) {
                  // should usually never happen
                  if (LOG.isInfoEnabled()) {
                      LOG.info(exc);
                  }
              }
          }
      }
docs: Performs the cleanup body action of the editor.<p>