Skip to content
Open

v2 #4

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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/clean-hotkeys-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'slate-dom': minor
---

Expose `isHotkey` for custom keyboard shortcut checks.
5 changes: 5 additions & 0 deletions .changeset/decorate-compat-source-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": minor
---

Rename the legacy decoration projection adapter to `createSlateDecorateCompatSource`.
5 changes: 5 additions & 0 deletions .changeset/editor-method-target-fresh-marks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate": minor
---

Expose `editor.toggleMark`, `editor.setBlock`, and `editor.toggleBlock`, and resolve implicit mark/block targets through the transaction target runtime.
5 changes: 5 additions & 0 deletions .changeset/full-transform-middleware.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate": patch
---

Add extension transform middleware for all public mutating editor transforms.
5 changes: 5 additions & 0 deletions .changeset/operation-validation-guards.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate": minor
---

Add concrete operation type guards and reject unknown operation replay records.
5 changes: 5 additions & 0 deletions .changeset/quiet-transform-middleware.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate": patch
---

Add extension transform middleware for `deleteBackward` and `insertText`.
5 changes: 5 additions & 0 deletions .changeset/remove-legacy-react-renderer-exports.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": minor
---

Remove legacy renderer component exports that are not used by the semantic `Editable` runtime.
6 changes: 6 additions & 0 deletions .changeset/remove-suppress-throw-dom-projection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"slate-dom": major
"slate-react": major
---

Remove `suppressThrow` from DOM-to-Slate projection options. Use `resolveSlatePoint` and `resolveSlateRange` for nullable projection; `toSlatePoint` and `toSlateRange` stay strict.
6 changes: 6 additions & 0 deletions .changeset/remove-transforms-namespace.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"slate": major
---

Remove the public `Transforms` namespace and require primitive document and
selection writes to run inside `editor.update(...)`.
5 changes: 5 additions & 0 deletions .changeset/richtext-history-dom-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Repair editor DOM after keyboard undo and redo history operations
5 changes: 5 additions & 0 deletions .changeset/runtime-id-live-path.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate": patch
---

Add live runtime-id path lookup for renderer-owned subscriptions.
5 changes: 5 additions & 0 deletions .changeset/selectable-void-navigation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate": patch
---

Fix arrow-key navigation to select selectable block and inline voids.
7 changes: 7 additions & 0 deletions .changeset/sharp-input-rules.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"slate-react": major
---

Remove `Editable` input rules and `editableInputRules`.

**Migration:** Use `editor.extend({ transforms: ... })` for model-owned input behavior, or `onDOMBeforeInput` for browser-specific input handling.
5 changes: 5 additions & 0 deletions .changeset/shell-backed-partial-paste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Preserve fragment and rich paste for shell-backed large-document selections.
5 changes: 5 additions & 0 deletions .changeset/slate-commit-metadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate": patch
---

Expose last commit metadata for transaction-aware runtime consumers
5 changes: 5 additions & 0 deletions .changeset/slate-dom-runtime-id-find-path.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-dom": patch
---

Resolve DOM element paths through live runtime ids before falling back to weak-map indexes.
5 changes: 5 additions & 0 deletions .changeset/slate-helper-api-names.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate": major
---

Rename public helper value namespaces to `*Api` while keeping model type names unchanged.
5 changes: 5 additions & 0 deletions .changeset/slate-multiline-paste-expanded-selection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate": patch
---

Fix multiline plain-text paste after replacing the whole editor selection
5 changes: 5 additions & 0 deletions .changeset/slate-react-custom-placeholder-delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Fix custom placeholders restoring after all editor text is deleted
5 changes: 5 additions & 0 deletions .changeset/slate-react-decorate-adapter-internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Route `decorate` through the projection-source compatibility adapter
5 changes: 5 additions & 0 deletions .changeset/slate-react-decoration-source-adapter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Add a projection-source adapter for legacy decoration callbacks
5 changes: 5 additions & 0 deletions .changeset/slate-react-dom-text-sync-capability.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Expose explicit DOM text sync opt-out reasons
5 changes: 5 additions & 0 deletions .changeset/slate-react-editable-command-handler.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": minor
---

Expose `Editable.onCommand` for native formatting input and keep native input listeners stable across handler prop changes.
5 changes: 5 additions & 0 deletions .changeset/slate-react-editable-semantic-runtime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": major
---

Make `Editable` use the semantic-blocks runtime with projection sources, large-document islands, and browser-safe model-owned text input.
5 changes: 5 additions & 0 deletions .changeset/slate-react-element-selected-collapsed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Add options-based `useElementSelected` modes for explicit paths and block void selected UI.
11 changes: 11 additions & 0 deletions .changeset/slate-react-example-dx-cleanup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"slate-react": patch
---

Rename React annotation and void helper props for clearer v2 authoring.

**Migration:**

- Use `<Slate annotationStore={store}>` instead of `annotationStores={[store]}`.
- Use `useSlateAnnotations()` and `useSlateAnnotation(id)` inside `Slate` when reading the provider store.
- Use `renderVoid={({ element, path }) => ...}` instead of `target` for void paths.
5 changes: 5 additions & 0 deletions .changeset/slate-react-live-runtime-reads.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Use live runtime reads for mounted text and large-document island lookup
5 changes: 5 additions & 0 deletions .changeset/slate-react-remove-child-count-chunking.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Remove child-count chunking from the current React runtime
7 changes: 7 additions & 0 deletions .changeset/slate-react-render-path-props.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"slate-react": minor
---

Remove eager `path` and `index` from element render props.

Resolve the current element path inside handlers with `ReactEditor.findPath(editor, element)`, or use `useElementPath()` for path-dependent render UI.
5 changes: 5 additions & 0 deletions .changeset/slate-react-repeat-scroll-into-view.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Fix repeated caret autoscroll after typing in a scrolled editor.
5 changes: 5 additions & 0 deletions .changeset/slate-react-virtualized-rendering.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Add experimental TanStack-backed `renderingStrategy.type: 'virtualized'` for bounded large-document editor surfaces.
5 changes: 5 additions & 0 deletions .changeset/slate-state-nodes-to-array.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate": patch
---

Add `state.nodes.toArray(options, map?)` for explicit node query materialization inside read and update callbacks.
5 changes: 5 additions & 0 deletions .changeset/tame-dom-coverage-boundaries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"slate-react": patch
---

Add unstable DOM coverage boundary slots for hidden editable regions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dist/
lib/
node_modules/
site/out/
tmp/
*tmp/
test-results/
coverage
.DS_Store
23 changes: 7 additions & 16 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading