k3-whenquery icon indicating copy to clipboard operation
k3-whenquery copied to clipboard

Kirby 4: Core Components can no longer be extended when using this plugin

Open georgobermayr opened this issue 1 year ago • 0 comments

In Kirby 4, when I try to extend a core component, this is no longer possible, when using this plugin.

For instance:

"k-header": {
    extends: "k-header",
    mounted() {
        console.log("mounted my header");
    },
    template: "<div>foo</div>",
},

The template is not used. Instead the original component of Kirby is still being used.

The reason for this seems to be with the addModelWatch function in this plugin.

georgobermayr avatar Nov 10 '23 09:11 georgobermayr