odoo/odoo#189893

Created by Editor, Jinjiu Liu (jili)
Merged at 671614700a99d38df2e65de612a86707a870b48a

Statuses:

label
odoo-dev:18.0-fix-html-editor-button-creation-jili
head
40cbc3c2701468b00eb04dda879ca73674944a81
merged
2 years ago by Editor, David Monjoie (dmo)
odoo/odoo
18.0 #189893
saas-18.1 #195023
saas-18.2 #197973
saas-18.3
saas-18.4
19.0
saas-19.1
saas-19.2
saas-19.3
saas-19.4
master #195355

[FIX] html_editor: button command in powerbox should create a button

Before this commit: Using the button command in the powerbox resulted in the creation of a regular link instead of a button.

After this commit: Executing the button command now correctly creates a primary button as intended.

task-4380129


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr