From 1e58af4a340924d6eaafc3e89b091fe92f2b9937 Mon Sep 17 00:00:00 2001 From: Emma Hamilton Date: Fri, 20 Sep 2024 10:11:33 +1000 Subject: [PATCH] Fix toolbar buttons in `fields.document` not respecting editor content/selection (#1314) --- .changeset/forty-bottles-develop.md | 5 +++++ babel.config.json | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/forty-bottles-develop.md diff --git a/.changeset/forty-bottles-develop.md b/.changeset/forty-bottles-develop.md new file mode 100644 index 000000000..69581b459 --- /dev/null +++ b/.changeset/forty-bottles-develop.md @@ -0,0 +1,5 @@ +--- +'@keystatic/core': patch +--- + +Fix toolbar buttons in `fields.document` not respecting editor content/selection diff --git a/babel.config.json b/babel.config.json index e6795ac9a..fd8cc2372 100644 --- a/babel.config.json +++ b/babel.config.json @@ -24,6 +24,7 @@ "overrides": [ { "test": ["packages/keystatic/src/**/*", "design-system/pkg/src/**/*"], + "exclude": ["packages/keystatic/src/form/fields/document/**/*"], "plugins": [ [ "babel-plugin-react-compiler",