Skip to content

Commit c59a7ae

Browse files
merge branch v2 (release 2.0.0-beta.35)
2 parents ac9347d + 223c55f commit c59a7ae

6 files changed

Lines changed: 20 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
# Changelog
22

3-
## [v2.0.0-beta.34](https://github.com/marcantondahmen/automad/commit/52d1b084be1c87c3db2a99f37fd086e6fd0c34ad)
3+
## [v2.0.0-beta.35](https://github.com/marcantondahmen/automad/commit/c89c1eff7308b588cb18c49bfe5c828c5e049f36)
44

5-
Tue, 2 Jun 2026 19:59:10 +0200
5+
Tue, 2 Jun 2026 20:44:15 +0200
6+
7+
### Bugfixes
8+
9+
- fix display for selected content in ai assistance prompt ui ([128080622](https://github.com/marcantondahmen/automad/commit/128080622c2868d108ca6c472adf282dfa0f1d3e))
10+
- fix z-index of ai assistance ui ([c89c1eff7](https://github.com/marcantondahmen/automad/commit/c89c1eff7308b588cb18c49bfe5c828c5e049f36))
11+
12+
## [v2.0.0-beta.34](https://github.com/marcantondahmen/automad/commit/ac9347de71cc694f1cfd6de6666c4b5e2ca6c0e8)
13+
14+
Tue, 2 Jun 2026 20:04:57 +0200
615

716
### New Features
817

automad/src/client/admin/editor/plugins/AiAssistance.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,9 @@ export class AiAssistance extends BasePlugin {
625625
this.editor.blocks.getCurrentBlockIndex();
626626

627627
this.selectedBlocks = [];
628+
629+
selectionBinding.value =
630+
this.selectedRange?.toString() || '';
628631
}
629632

630633
if (!target.closest(`.${AiAssistance.CLS}`)) {
@@ -636,9 +639,9 @@ export class AiAssistance extends BasePlugin {
636639

637640
if (this.selectedBlocks.length > 0) {
638641
this.selectedRange = null;
642+
selectionBinding.value =
643+
this.selectedRange?.toString() || '';
639644
}
640-
641-
selectionBinding.value = this.selectedRange?.toString() || '';
642645
})
643646
);
644647
}

automad/src/client/admin/styles/components/editor/plugins/ai-assistance.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
@toggleSize: 3.35rem;
3737
@iconFontSize: 1.25rem;
3838
position: sticky;
39-
z-index: 100;
39+
z-index: 2;
4040
display: flex;
4141
align-items: end;
4242
bottom: 0;

automad/src/server/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
* @license See LICENSE.md for license information
5757
*/
5858
class App {
59-
const VERSION = '2.0.0-beta.34';
59+
const VERSION = '2.0.0-beta.35';
6060

6161
/**
6262
* Required PHP version.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "automad",
3-
"version": "2.0.0-beta.34",
3+
"version": "2.0.0-beta.35",
44
"description": "Automad",
55
"author": "Marc Anton Dahmen",
66
"private": true,

0 commit comments

Comments
 (0)