docs: private String computeEditorPreselection(HttpServletRequest request, String resourceType) {
  
          // first check presence of the setting in request parameter
          String preSelection = request.getParameter(PARAM_PREFERREDEDITOR_PREFIX + resourceType);
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(preSelection)) {
              return CmsEncoder.decode(preSelection);
          } else {
              // no value found in request, check current user settings (not the member!)
              CmsUserSettings userSettings = new CmsUserSettings(getSettings().getUser());
              return userSettings.getPreferredEditor(resourceType);
  
          }
      }