Wysinwyg Editor Starting with source insted of visual
Hi,
Is There a way to open a formField initially in source mode instead of visual mode?
@formField('wysiwyg', [
'toolbarOptions' =>
['bold','italic','underline','strike',"blockquote","code-block",['list'=>'ordered'],['list'=>'bullet'],'link','image'],
'editSource' => true,
**'inital' => 'source_mode'**
'name' => 'main_title',
'label' => __('admin.common.headline'),
'placeholder' => __('admin.common.insert_title'),
'note' => '[TITLE]',
])
I'm using twill 2.12.4
Thank u2 Replies