Question: I would like to make a mass modification to attribute sets. I would like to add a series of attributes among those not yet assigned to the attributes set (200) in the "General" section. 

I would like to make this change from the database.
Can anyone help me on how to proceed? What tables contain this data?

I must repeat the operation in the photo for 200 set of attributes, assigning each part a portion of unassigned attributes
[![enter image description here](https://i.stack.imgur.com/ySXUy.png)](https://i.stack.imgur.com/ySXUy.png)

Answer: 
Discovered I was missing the Config setting:

```
/**
 * @var \Magento\Cms\Model\Wysiwyg\Config
 */
protected $_wysiwygConfig;

/**
 * @param \Magento\Backend\Block\Template\Context $context
 * @param \Magento\Framework\Registry $registry
 * @param \Magento\Framework\Data\FormFactory $formFactory
 * @param \Magento\Cms\Model\Wysiwyg\Config $wysiwygConfig
 * @param \Magento\Store\Model\System\Store $systemStore
 * @param array $data
 */
public function __construct(
    \Magento\Backend\Block\Template\Context $context,
    \Magento\Cms\Model\Wysiwyg\Config $wysiwygConfig,
    array $data = []
) {
    $this->_wysiwygConfig = $wysiwygConfig;
    parent::__construct($context, $data);
}

```

**Meaning I could do the following:**

```
$fieldset->addField(
    'content',
    'editor',
    [
        'name' => 'content',
        'label' => __('Body'),
        'title' => __('Body'),
        'rows' => '5',
        'cols' => '30',
        'wysiwyg' => true,
        'config' => $this->_wysiwygConfig->getConfig(),
        'required' => true
    ]
);

```

Type must be set to *editor* and wysiwyg set to *true* for this to work.
@Avesh Naik you can use below code to add the wysiwyg field in UI Form, it will add field with the form width, you will not face the fullwidth issue with field.

```
    <field name="front_message2" sortOrder="10" formElement="wysiwyg" template="ui/form/field">
        <argument name="data" xsi:type="array">
            <item name="config" xsi:type="array">
                <item name="source" xsi:type="string">lrpricerules</item>
                <item name="wysiwygConfigData" xsi:type="array">
                    <item name="is_pagebuilder_enabled" xsi:type="boolean">false</item>
                    <item name="toggle_button" xsi:type="boolean">true</item>
                    <item name="height" xsi:type="string">150px</item>
                    <item name="add_variables" xsi:type="boolean">true</item>
                    <item name="add_widgets" xsi:type="boolean">true</item>
                    <item name="add_images" xsi:type="boolean">true</item>
                    <item name="add_directives" xsi:type="boolean">true</item>
                </item>
            </item>
        </argument>
        <settings>
            <label translate="true">Front end message2</label>
            <dataScope>front_message2</dataScope>
        </settings>
        <formElements>
            <wysiwyg>
                <settings>
                    <rows>5</rows>
                    <wysiwyg>true</wysiwyg>
                </settings>
            </wysiwyg>
        </formElements>
    </field>

```

upvote for me if its useful for you.