I am trying to add a WYSIWYG editor in Magento 2 while creating a custom module, but I keep getting a full-page editor instead. Here is a snippet of my code
$fieldset->addField( 'content', 'editor', ['name' =>'content', 'label'=>__('Content'), 'title'=>__('Content'), 'row'=>'15', 'wysiwyg'=>true, 'required'=>true, 'config'=>$this->_wysiwygConfig=>getConfig() );