Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 0 additions & 54 deletions .changeset/biome-formatting.md

This file was deleted.

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

## 51.1.2

### Patch Changes

- [#4732](https://github.com/udecode/plate/pull/4732) by [@zbeyens](https://github.com/zbeyens) – Format code with Biome

## 51.1.1

## 51.0.1
Expand Down Expand Up @@ -94,9 +100,9 @@
```typescript
// Convert AI comment to text range
const range = aiCommentToRange(editor, {
blockId: 'block-1',
content: 'Selected text',
comment: 'Consider adding more detail here',
blockId: "block-1",
content: "Selected text",
comment: "Consider adding more detail here",
});
```

Expand Down Expand Up @@ -194,10 +200,10 @@
// ... other options
shortcuts: {
acceptNextWord: {
keys: 'mod+right',
keys: "mod+right",
},
triggerSuggestion: {
keys: 'ctrl+space',
keys: "ctrl+space",
},
},
});
Expand Down
12 changes: 6 additions & 6 deletions packages/ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@platejs/ai",
"version": "51.1.1",
"version": "51.1.2",
"description": "Text AI plugin for Plate",
"keywords": [
"plate",
Expand Down Expand Up @@ -50,19 +50,19 @@
"typecheck": "yarn p:typecheck"
},
"dependencies": {
"@platejs/markdown": "51.1.1",
"@platejs/selection": "51.0.0",
"@platejs/suggestion": "51.0.0",
"@platejs/markdown": "51.1.2",
"@platejs/selection": "51.1.2",
"@platejs/suggestion": "51.1.2",
"fastest-levenshtein": "1.0.16",
"lodash": "^4.17.21"
},
"devDependencies": {
"@ai-sdk/react": "2.0.28",
"@platejs/combobox": "51.0.0",
"@platejs/combobox": "51.1.2",
"ai": "5.0.28"
},
"peerDependencies": {
"platejs": ">=51.0.0",
"platejs": ">=51.1.2",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/autoformat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @platejs/autoformat

## 51.1.2

### Patch Changes

- [#4732](https://github.com/udecode/plate/pull/4732) by [@zbeyens](https://github.com/zbeyens) – Format code with Biome

## 51.0.0

## 49.0.0
Expand Down
4 changes: 2 additions & 2 deletions packages/autoformat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@platejs/autoformat",
"version": "51.0.0",
"version": "51.1.2",
"description": "Autoformatting plugin for Plate",
"keywords": [
"plate",
Expand Down Expand Up @@ -50,7 +50,7 @@
"platejs": "workspace:^"
},
"peerDependencies": {
"platejs": ">=51.0.0",
"platejs": ">=51.1.2",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
Expand Down
20 changes: 13 additions & 7 deletions packages/basic-nodes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @platejs/basic-nodes

## 51.1.2

### Patch Changes

- [#4732](https://github.com/udecode/plate/pull/4732) by [@zbeyens](https://github.com/zbeyens) – Format code with Biome

## 51.0.0

## 49.0.0
Expand All @@ -21,25 +27,25 @@
- Configure shortcuts manually via the `shortcuts` field in plugin configuration.
- Example (Block Plugins):
```ts
H1Plugin.configure({ shortcuts: { toggle: { keys: 'mod+alt+1' } } });
H1Plugin.configure({ shortcuts: { toggle: { keys: "mod+alt+1" } } });
BlockquotePlugin.configure({
shortcuts: { toggle: { keys: 'mod+shift+period' } },
shortcuts: { toggle: { keys: "mod+shift+period" } },
});
```
- Example (Mark Plugins):
```ts
CodePlugin.configure({ shortcuts: { toggle: { keys: 'mod+e' } } });
CodePlugin.configure({ shortcuts: { toggle: { keys: "mod+e" } } });
StrikethroughPlugin.configure({
shortcuts: { toggle: { keys: 'mod+shift+x' } },
shortcuts: { toggle: { keys: "mod+shift+x" } },
});
SubscriptPlugin.configure({
shortcuts: { toggle: { keys: 'mod+comma' } },
shortcuts: { toggle: { keys: "mod+comma" } },
});
SuperscriptPlugin.configure({
shortcuts: { toggle: { keys: 'mod+period' } },
shortcuts: { toggle: { keys: "mod+period" } },
});
HighlightPlugin.configure({
shortcuts: { toggle: { keys: 'mod+shift+h' } },
shortcuts: { toggle: { keys: "mod+shift+h" } },
});
```

Expand Down
4 changes: 2 additions & 2 deletions packages/basic-nodes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@platejs/basic-nodes",
"version": "51.0.0",
"version": "51.1.2",
"description": "Basic nodes plugin for Plate",
"keywords": [
"plate",
Expand Down Expand Up @@ -53,7 +53,7 @@
"platejs": "workspace:^"
},
"peerDependencies": {
"platejs": ">=51.0.0",
"platejs": ">=51.1.2",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/basic-styles/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @platejs/basic-styles

## 51.1.2

### Patch Changes

- [#4732](https://github.com/udecode/plate/pull/4732) by [@zbeyens](https://github.com/zbeyens) – Format code with Biome

## 51.0.0

## 49.0.0
4 changes: 2 additions & 2 deletions packages/basic-styles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@platejs/basic-styles",
"version": "51.0.0",
"version": "51.1.2",
"description": "Block and text styles for Plate",
"keywords": [
"plate",
Expand Down Expand Up @@ -53,7 +53,7 @@
"platejs": "workspace:^"
},
"peerDependencies": {
"platejs": ">=51.0.0",
"platejs": ">=51.1.2",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/callout/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @platejs/callout

## 51.1.2

### Patch Changes

- [#4732](https://github.com/udecode/plate/pull/4732) by [@zbeyens](https://github.com/zbeyens) – Format code with Biome

## 51.0.0

## 49.0.0
Expand Down
4 changes: 2 additions & 2 deletions packages/callout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@platejs/callout",
"version": "51.0.0",
"version": "51.1.2",
"description": "Callout plugin for Plate",
"keywords": [
"plate",
Expand Down Expand Up @@ -53,7 +53,7 @@
"platejs": "workspace:^"
},
"peerDependencies": {
"platejs": ">=51.0.0",
"platejs": ">=51.1.2",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/caption/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @platejs/caption

## 51.1.2

### Patch Changes

- [#4732](https://github.com/udecode/plate/pull/4732) by [@zbeyens](https://github.com/zbeyens) – Format code with Biome

## 51.0.0

## 49.0.0
Expand Down
4 changes: 2 additions & 2 deletions packages/caption/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@platejs/caption",
"version": "51.0.0",
"version": "51.1.2",
"description": "Primitive components for caption.",
"keywords": [
"plate",
Expand Down Expand Up @@ -55,7 +55,7 @@
"platejs": "workspace:^"
},
"peerDependencies": {
"platejs": ">=51.0.0",
"platejs": ">=51.1.2",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
Expand Down
16 changes: 11 additions & 5 deletions packages/code-block/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @platejs/code-block

## 51.1.2

### Patch Changes

- [#4732](https://github.com/udecode/plate/pull/4732) by [@zbeyens](https://github.com/zbeyens) – Format code with Biome

## 51.0.0

## 49.0.0
Expand Down Expand Up @@ -36,7 +42,7 @@
- `CodeBlockPlugin`: remove `prism` option. Use `lowlight` option instead:

```tsx
import { all, createLowlight } from 'lowlight';
import { all, createLowlight } from "lowlight";

const lowlight = createLowlight(all);

Expand Down Expand Up @@ -135,11 +141,11 @@

```ts
// Import Prism with your supported languages
import Prism from 'prismjs';
import Prism from "prismjs";

import 'prismjs/components/prism-antlr4.js';
import 'prismjs/components/prism-bash.js';
import 'prismjs/components/prism-c.js';
import "prismjs/components/prism-antlr4.js";
import "prismjs/components/prism-bash.js";
import "prismjs/components/prism-c.js";
// ...

const plugins = createPlugins([
Expand Down
4 changes: 2 additions & 2 deletions packages/code-block/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@platejs/code-block",
"version": "51.0.0",
"version": "51.1.2",
"description": "Code block plugin for Plate",
"keywords": [
"plate",
Expand Down Expand Up @@ -54,7 +54,7 @@
"platejs": "workspace:^"
},
"peerDependencies": {
"platejs": ">=51.0.0",
"platejs": ">=51.1.2",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/combobox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @platejs/combobox

## 51.1.2

### Patch Changes

- [#4732](https://github.com/udecode/plate/pull/4732) by [@zbeyens](https://github.com/zbeyens) – Format code with Biome

## 51.0.0

## 49.0.0
Expand Down
4 changes: 2 additions & 2 deletions packages/combobox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@platejs/combobox",
"version": "51.0.0",
"version": "51.1.2",
"description": "Combobox for Plate",
"keywords": [
"plate",
Expand Down Expand Up @@ -53,7 +53,7 @@
"platejs": "workspace:^"
},
"peerDependencies": {
"platejs": ">=51.0.0",
"platejs": ">=51.1.2",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/comment/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @platejs/comment

## 51.1.2

### Patch Changes

- [#4732](https://github.com/udecode/plate/pull/4732) by [@zbeyens](https://github.com/zbeyens) – Format code with Biome

## 51.0.0

## 50.2.0
Expand Down
Loading
Loading