Войти с помощью github
Форум /

Имеется стандартный JSON кнопки -> block : 'button', mods : { theme : 'islands', size : 'm', view : 'action'}, text : 'Создать' В html мы получаем: <button class="button button_theme_islands button_size_m button_view_action button__control i-bem button_js_inited" data-bem="{&quot;button&quot;:{}}" role="button" type="button"><span class="button__text">Создать</span></button>. К данному html мне нужно ещё добавить элемент к JSON чтобы в конечном результате в html вышло: <button class="button button_theme_islands button_size_m button_view_action button__control button__add-form i-bem button_js_inited" data-bem="{&quot;button&quot;:{}}" role="button" type="button"><span class="button__text">Создать</span></button>.