code: private static I_CmsFormatterBean getStartFormatter(
          CmsObject cms,
          CmsContainer cnt,
          CmsADEConfigData configData,
          CmsContainerElementBean element,
          CmsADESessionCache cache) {
  
          I_CmsResourceType type = OpenCms.getResourceManager().getResourceType(element.getResource());
          I_CmsFormatterBean formatter = cache.getRecentFormatter(type.getTypeName(), cnt, configData);
          if (formatter == null) {
              formatter = configData.getFormatters(cms, element.getResource()).getDefaultFormatter(
                  cnt.getType(),
                  cnt.getWidth());
          }
          return formatter;
      }
docs: Returns the start formatter for a newly dropped element.<p>
  This will be either the least recently used matching formatter or the default formatter.<p>
  
  @param cms the cms context
  @param cnt the container
  @param configData the configuration data
  @param element the container element
  @param cache the session cache
  
  @return the formatter bean