code: function getFontFamilyId(configName) {
      // Search for plugin configured font family
      var configFamily = $.grep(FAMILIES, function(family) {
        return family.config == configName;
      })[0];
      // Fallback to default font family
      return !!configFamily ? configFamily.id : 0;
    }
docs: Return the correct id for a font-family config key Default to first font-family