решил так.
[CODE] include_once($_SERVER['DOCUMENT_ROOT'] . "/bitrix/modules/main/classes/" . $GLOBALS['DBType'] . "/favorites.php");
//для элементов
CUserOptions::SetOption('fileman', "type_selector_PREVIEW_TEXT1", "editor"); //1 это ID инфоблока.
CUserOptions::SetOption('fileman', "type_selector_DETAIL_TEXT1", "editor"); //1 это ID инфоблока.
CUserOptions::SetOption('fileman', "type_selector_DESCRIPTION", "editor"); //для разделов
[/CODE]
[CODE] include_once($_SERVER['DOCUMENT_ROOT'] . "/bitrix/modules/main/classes/" . $GLOBALS['DBType'] . "/favorites.php");
//для элементов
CUserOptions::SetOption('fileman', "type_selector_PREVIEW_TEXT1", "editor"); //1 это ID инфоблока.
CUserOptions::SetOption('fileman', "type_selector_DETAIL_TEXT1", "editor"); //1 это ID инфоблока.
CUserOptions::SetOption('fileman', "type_selector_DESCRIPTION", "editor"); //для разделов
[/CODE]