mirror of
https://github.com/brianpetro/smart-context-obsidian.git
synced 2026-07-22 05:32:16 +00:00
Improved: streamline initialization by moving register_ribbon_actions to the beginning
This commit is contained in:
parent
0f3a28ccec
commit
3d7c41b99a
1 changed files with 1 additions and 1 deletions
|
|
@ -45,11 +45,11 @@ export default class SmartContextPlugin extends SmartPlugin {
|
|||
*/
|
||||
async initialize() {
|
||||
await this.load_new_user_state();
|
||||
this.register_ribbon_actions();
|
||||
await this.SmartEnv.wait_for({ loaded: true });
|
||||
|
||||
this.register_command_actions();
|
||||
this.register_codeblock_processors();
|
||||
this.register_ribbon_actions();
|
||||
this.register_folder_menu();
|
||||
this.register_files_menu();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue