From 94b5347a1cde2121087423c895a068d976cb79a1 Mon Sep 17 00:00:00 2001 From: Oscar Date: Tue, 8 Oct 2024 09:49:37 +0200 Subject: [PATCH 1/2] Always open insert menu and move insert snippet button --- app/components/rdfa-editor-container.hbs | 2 +- app/templates/agendapoints/edit.hbs | 15 +++++++-------- app/templates/regulatory-statements/edit.hbs | 14 +++++++------- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/app/components/rdfa-editor-container.hbs b/app/components/rdfa-editor-container.hbs index 7576ba70e..66ad02aa3 100644 --- a/app/components/rdfa-editor-container.hbs +++ b/app/components/rdfa-editor-container.hbs @@ -120,7 +120,7 @@ {{#if this.controller}} {{#if (has-block 'sidebarCollapsible')}} - + {{yield to='sidebarCollapsible'}} {{/if}} diff --git a/app/templates/agendapoints/edit.hbs b/app/templates/agendapoints/edit.hbs index 876193a48..caa795f76 100644 --- a/app/templates/agendapoints/edit.hbs +++ b/app/templates/agendapoints/edit.hbs @@ -137,14 +137,6 @@ @controller={{this.controller}} /> {{/if}} - - {{#if this.activeNode}} - - {{/if}} + {{#if this.activeNode}} + + {{/if}} <:sidebar> diff --git a/app/templates/regulatory-statements/edit.hbs b/app/templates/regulatory-statements/edit.hbs index 23dcd4a35..600f4712d 100644 --- a/app/templates/regulatory-statements/edit.hbs +++ b/app/templates/regulatory-statements/edit.hbs @@ -131,13 +131,6 @@ @plugin={{this.citationPlugin}} @config={{this.config.citation}} /> - {{#if this.activeNode}} - - {{/if}} + {{#if this.activeNode}} + + {{/if}} <:sidebar> Date: Tue, 8 Oct 2024 09:50:59 +0200 Subject: [PATCH 2/2] linting and changeset --- .changeset/nervous-chefs-pretend.md | 5 +++++ app/components/rdfa-editor-container.hbs | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changeset/nervous-chefs-pretend.md diff --git a/.changeset/nervous-chefs-pretend.md b/.changeset/nervous-chefs-pretend.md new file mode 100644 index 000000000..b2ee79a70 --- /dev/null +++ b/.changeset/nervous-chefs-pretend.md @@ -0,0 +1,5 @@ +--- +'frontend-gelinkt-notuleren': patch +--- + +Insert menu is open by default now and moved insert snippet button to the bottom of the list diff --git a/app/components/rdfa-editor-container.hbs b/app/components/rdfa-editor-container.hbs index 66ad02aa3..eeac1a23e 100644 --- a/app/components/rdfa-editor-container.hbs +++ b/app/components/rdfa-editor-container.hbs @@ -120,7 +120,10 @@ {{#if this.controller}} {{#if (has-block 'sidebarCollapsible')}} - + {{yield to='sidebarCollapsible'}} {{/if}}