• Модуль: fileman
  • Путь к файлу: ~/bitrix/modules/fileman/classes/general/html_editor.php
  • Класс: CHTMLEditor
  • Вызов: CHTMLEditor::Show
function Show($arParams)
{
	CJSCore::Init(array('window', 'ajax', 'fx'));

	$this->InitLangMess();
	$arParams = $this->Init($arParams);

	if (($arParams["uploadImagesFromClipboard"] ?? null) !== false)
		CJSCore::Init(array("uploader"));

	$event = new Event(
		'fileman',
		'HtmlEditor:onBeforeBuild',
		[$this]
	);

	EventManager::getInstance()->send($event);

	// Display all DOM elements, dialogs
	$this->BuildSceleton($this->display);
	$this->Run($this->display);

	if ($arParams["initConponentParams"])
	{
		CComponentParamsManager::Init(array(
			'requestUrl' => '/bitrix/admin/fileman_component_params.php'
		));
	}
}