Closed TheDude70 closed 2 years ago
I guess the issue here is placing your code in editor.on('load')
which is executed once the content is loaded in the editor. Just move your code in a plugin, right after the form one and the component will be extended properly.
Implemented using this plugin and have it working fine by setting a fixed value for both
action
andmethod
on the form. When adding the block to the canvas I have disable showing the traits underSettings
so the user cannot edit the method and action. However after saving the page and reloading those attributes are now available to be edited. How can I prevent those from showing up under Settings for the form?I have tried to override the traits and attributes, but to no effect. In the
editor.on('load')
I have: