-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix custom plugin default command overriding #356
Fix custom plugin default command overriding #356
Conversation
I forgot to mention but this PR is related for the issue #355 |
Hi Arthur and thanks for the contribution, by the way, I can't accept it as it's important that // Execute `onLoad` on modules once all plugins are initialized.
// A plugin might have extended/added some custom type so this
// is a good point to load stuff like components, css rules, etc. If you want to fix 'default command overriding' I'd suggest you try to move |
Hi @artf, |
This is exactly what I meant with init() {
...
this.loadDefaultCommands(); // this is all the content from onLoad
return this;
}
// Remove onLoad
onLoad() {
... |
Hi @artf , |
Great 👍 , can you just bring |
@artf Ops, sorry! Fixed now! |
Thanks Arthur ❤️ |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
@artf ,
Here is my fix. Take a look and tell me what you think.