Skip to content

Commit

Permalink
Merge branch 'main' into pro
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfeng33 committed Oct 25, 2024
2 parents bb47fa1 + a8caed9 commit 3f8aa3a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .changeset/sweet-yaks-sing.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/ai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @udecode/plate-ai

## 39.2.10

### Patch Changes

- [`6477c29b42449bebc62225d91927642ac7062032`](https://github.com/udecode/plate/commit/6477c29b42449bebc62225d91927642ac7062032) by [@zbeyens](https://github.com/zbeyens) – fix

## 39.2.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-ai",
"version": "39.2.9",
"version": "39.2.10",
"description": "Text AI plugin for Plate",
"keywords": [
"plate",
Expand Down
6 changes: 6 additions & 0 deletions packages/cursor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @udecode/plate-cursor

## 39.2.11

### Patch Changes

- [#3666](https://github.com/udecode/plate/pull/3666) by [@felixfeng33](https://github.com/felixfeng33) – Fix overlay position when there a fixed height of editor.

## 39.0.0

## 38.0.0
Expand Down
2 changes: 1 addition & 1 deletion packages/cursor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-cursor",
"version": "39.0.0",
"version": "39.2.11",
"description": "Cursor for Plate React",
"keywords": [
"plate",
Expand Down
1 change: 1 addition & 0 deletions packages/cursor/src/hooks/useCursorOverlayPositions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const useCursorOverlayPositions = <TCursorData extends UnknownObject>({
const contentRect = containerRef.current!.getBoundingClientRect();
xOffset = contentRect.x;
yOffset = contentRect.y;
yOffset -= containerRef.current.scrollTop;
}

let selectionRectsChanged =
Expand Down

0 comments on commit 3f8aa3a

Please sign in to comment.