@clepit/core 0.5.0-beta.395 → 0.6.0-beta.396
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,10 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.6.0] - 2026-09-25
|
|
11
|
+
|
|
12
|
+
Notes derived from the commits that touched shipped `src/` since 0.5.0. `@clepit/react` 0.3.0 rides this release: `ClepitEditor` forwards `resolveLink`, `resolveIssues`, `onEmbedAction` and `onIssueAction` through the same latest-ref contract as the uploaders, and requires `@clepit/core` ^0.6.0.
|
|
13
|
+
|
|
10
14
|
### Added
|
|
11
15
|
- `EditorConfig.allowedBlockTools` and `allowedInlineTools`: an embedder names the block types the block menu, its search, the convert submenu and the URL paste path offer, and the marks the inline toolbar serves. Absent, everything registered is offered, and a stored block outside the list still renders.
|
|
12
16
|
- `EditorConfig.inlineRewriteTooltip`: the localized tooltip for the inline toolbar's rewrite wand. Without it the wand keeps saying `rewrite`, which was the only string the toolbar rendered untranslated.
|
|
13
17
|
- `INLINE_REWRITE_ACTIONS` and `InlineRewriteAction` are exported from the package root, so a host can label every rewrite action without reaching into `types`.
|
|
18
|
+
- Embeds: a Figma, Miro, Loom, Google Drive or Docs link, or a GitHub gist, pasted on an empty line becomes an embed block at once and goes on the next line when the line has text, honouring the member's preference for a live frame, a card or an offer chip under the caret; Enter on the offer converts it and any other key dismisses it. The block's own menu offers Show live, Show as card, Show as link and Copy link. `EditorConfig` carries the provider policy, the translated words, the host's link lookup (`resolveLink`) and the action seam (`onEmbedAction`). `resolveEmbed`, `isEmbedProviderDisabled`, `embedLabel`, `EMBED_LABELS`, `EMBED_TOOL_NAMES`, `EMBED_WIRE_KEYS`, `EMBED_ENGLISH` and the `Embed*` types are exported from the package root.
|
|
19
|
+
- Issues: an issue link pasted into a sentence is a chip carrying the issue's key, title, status and holder, or a card on an empty line for a member who asked; a Linked issues block is derived from the document like the table of contents; chips, cards and tables are refreshed on mount, on focus and every five minutes without marking the document changed. `EditorConfig.resolveIssues` and `onIssueAction` are the host's seams. `classifyIssueUrl`, `IssueChip`, `chipsInHtml`, `readChipMarkup`, `refreshChipsInHtml`, `issueLabel`, `issueToolName`, `ISSUE_LABELS`, `ISSUE_TOOLS`, `ISSUE_TOOL_NAMES`, `ISSUE_ENGLISH` and the `Issue*` types are exported from the package root.
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
- `Editor.destroy` removes the document from the store after the DOM and the listeners are gone, so a destroyed editor no longer keeps its document under its container id, and `Editor.create` releases a previous runtime in the same container without deleting the document the store rehydrated before the page loaded.
|
|
23
|
+
- Issue cards on a public page are no longer redrawn as empty chips by the finished-markup chip pass.
|
|
24
|
+
- The table block's CSV download prefixes an apostrophe to a cell or header that opens with `=`, `+`, `-`, `@`, a tab or a carriage return, so a spreadsheet reads it as text, and a carriage return inside a cell is quoted.
|
|
14
25
|
|
|
15
26
|
## [0.5.0] - 2026-08-31
|
|
16
27
|
|
package/package.json
CHANGED