@pilotiq/tiptap 3.15.1 → 3.16.0
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 +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @pilotiq/tiptap
|
|
2
2
|
|
|
3
|
+
## 3.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 58e9461: Export the default content-block node specs (`contentBlockNodes`, plus `Faq` / `FaqItem` / `FaqQuestion` / `FaqAnswer` / `Alert` / `AlertTitle` / `AlertBody` / `Summary` / `KeyTakeaways` / `ProsCons` / `ProsColumn` / `ConsColumn` / `ContentBlockKeymap` and the `AlertType` helpers) from the package entry. `contentBlockNodes` is the exact array `TiptapEditor` registers, so consumers can build a headless editor whose schema matches the live one — e.g. to parse content-block HTML or drive the surgical-op planners (`planInsertBlockBefore` & co.) in a test — without mounting React. Additive; no behavior change.
|
|
8
|
+
|
|
3
9
|
## 3.15.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -11,4 +11,5 @@ export { useAiSuggestionBridge } from './react/useAiSuggestionBridge.js';
|
|
|
11
11
|
export { AiInlineDiffExtension, aiInlineDiffPluginKey, getAiInlineDiffState, type AiInlineDiffExtensionOptions, } from './extensions/AiInlineDiffExtension.js';
|
|
12
12
|
export { planReplaceBlock, planInsertBlockBefore, planDeleteBlock, planUpdateBlockMark, summarizeBlockStructure, type BlockMarkRange, type TransactionModifier, } from './surgicalOps.js';
|
|
13
13
|
export { renderRichTextToHtml, isRichTextValue, type RenderRichTextOptions, type TiptapNode, type TiptapMark, } from './render.js';
|
|
14
|
+
export { contentBlockNodes, Faq, FaqItem, FaqQuestion, FaqAnswer, Alert, AlertTitle, AlertBody, Summary, KeyTakeaways, ProsCons, ProsColumn, ConsColumn, ContentBlockKeymap, ALERT_VARIANTS, ALERT_VARIANT_LABEL, coerceAlertType, type AlertType, } from './extensions/contentBlocks.js';
|
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -11,3 +11,9 @@ export { useAiSuggestionBridge } from './react/useAiSuggestionBridge.js';
|
|
|
11
11
|
export { AiInlineDiffExtension, aiInlineDiffPluginKey, getAiInlineDiffState, } from './extensions/AiInlineDiffExtension.js';
|
|
12
12
|
export { planReplaceBlock, planInsertBlockBefore, planDeleteBlock, planUpdateBlockMark, summarizeBlockStructure, } from './surgicalOps.js';
|
|
13
13
|
export { renderRichTextToHtml, isRichTextValue, } from './render.js';
|
|
14
|
+
// Default content-block node specs (FAQ / Alert / Summary / Key takeaways /
|
|
15
|
+
// Pros & cons). `contentBlockNodes` is the exact array `TiptapEditor` registers,
|
|
16
|
+
// so a consumer can build a headless editor whose schema matches the live
|
|
17
|
+
// editor — e.g. to parse the content-block HTML or drive the surgical-op
|
|
18
|
+
// planners (`planInsertBlockBefore` & co.) in a test, without mounting React.
|
|
19
|
+
export { contentBlockNodes, Faq, FaqItem, FaqQuestion, FaqAnswer, Alert, AlertTitle, AlertBody, Summary, KeyTakeaways, ProsCons, ProsColumn, ConsColumn, ContentBlockKeymap, ALERT_VARIANTS, ALERT_VARIANT_LABEL, coerceAlertType, } from './extensions/contentBlocks.js';
|