skeeks \ cms \ cmsWidgets \ text \ TextCmsWidget - designed to edit blocks of text or html code.

Example of use:

<? echo \skeeks\cms\cmsWidgets\text\TextCmsWidget::widget([ 'namespace' => 'unique-settings-code', 'text' => 'Edited text' ]); ?> 

Or it will be more convenient:

<? echo \skeeks\cms\cmsWidgets\text\TextCmsWidget::widget([ 'namespace' => 'unique-settings-code', 'text' => <<<HTML <p class="cl-gray "> Edited text </p> HTML ]); ?> 

Starting with skeeks / cms 3.2.0, there is a great opportunity:

<? \skeeks\cms\cmsWidgets\text\TextCmsWidget::begin([ 'namespace' => 'unique-settings-code', ]); ?> <p class="cl-gray "> Edited text </p> <? \skeeks\cms\cmsWidgets\text\TextCmsWidget::end(); ?> 

Or even easier:

<? \skeeks\cms\cmsWidgets\text\TextCmsWidget::beginWidget('unique-settings-code'); ?> <p class="cl-gray "> Edited text </p> <? \skeeks\cms\cmsWidgets\text\TextCmsWidget::end(); ?>