File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
website_form_require_legal/static/src/builder/form Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import { BuilderAction } from "@html_builder/core/builder_action" ;
2- import { Plugin } from "@html_editor/plugin " ;
2+ import { Editor } from "@html_editor/editor " ;
33import { patch } from "@web/core/utils/patch" ;
44import { renderToElement } from "@web/core/utils/render" ;
5-
65export class FormToggleLegalTermsAction extends BuilderAction {
76 static id = "formToggleLegalTerms" ;
87 apply ( { editingElement : el } ) {
@@ -38,7 +37,7 @@ export class FormToggleLegalTermsAction extends BuilderAction {
3837 }
3938}
4039
41- patch ( Plugin . prototype , {
40+ patch ( Editor . prototype , {
4241 getResource ( resourceId ) {
4342 const resources = super . getResource ( resourceId ) ;
4443 if ( resourceId && resourceId === "builder_actions" ) {
You can’t perform that action at this time.
0 commit comments