@edifice.io/tiptap-extensions 2.2.0 → 2.2.1-develop-b2school.20250326170945
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/dist/conversation-history/conversation-history.cjs +2 -0
- package/dist/conversation-history/conversation-history.cjs.map +1 -0
- package/dist/conversation-history/conversation-history.d.ts +32 -0
- package/dist/conversation-history/conversation-history.js +63 -0
- package/dist/conversation-history/conversation-history.js.map +1 -0
- package/dist/conversation-history/index.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +7 -3
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const core=require("@tiptap/core"),prosemirrorState=require("prosemirror-state"),ConversationHistory=core.Node.create({name:"converstationHistory",group:"block",content:"block",parseHTML(){return[{tag:"div.conversation-history"}]},renderHTML({HTMLAttributes}){return["div",core.mergeAttributes(HTMLAttributes,{class:"conversation-history"}),0]},addProseMirrorPlugins(){return[new prosemirrorState.Plugin({appendTransaction:(transactions,oldState,newState)=>{const tr=newState.tr;let modified=!1;const nodesAfterHr=[];return newState.doc.descendants((node,pos,parent)=>{if(node.type.name==="horizontalRule"&&parent.type.name==="doc"){const start=pos,end=newState.doc.content.size;if(newState.doc.nodesBetween(start,end,(n,p,parent2)=>{if(n.type.name!=="horizontalRule"&&parent2.type.name==="doc")nodesAfterHr.push({node:n,pos:p});else return!1}),nodesAfterHr.length>0){const groupNode=this.type.create({},nodesAfterHr.map(n=>n.node));tr.replaceWith(start,end,groupNode),modified=!0}return!1}}),modified?tr:null}})]}});exports.ConversationHistory=ConversationHistory;
|
|
2
|
+
//# sourceMappingURL=conversation-history.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-history.cjs","sources":["../../src/conversation-history/conversation-history.ts"],"sourcesContent":["import { mergeAttributes, Node } from '@tiptap/core';\nimport { Plugin } from 'prosemirror-state';\n\n/**\n * The `ConversationHistory` node is a custom ProseMirror node that represents a block-level\n * container for conversation history. It is implemented using the `@tiptap/core` library.\n *\n * @name ConversationHistory\n * @group block\n * @content block\n *\n * @parseHTML\n * This method defines how to parse the HTML representation of the node. It looks for a `div`\n * element with the class `conversation-history`.\n *\n * @renderHTML\n * This method defines how to render the node as HTML. It creates a `div` element with the class\n * `conversation-history`.\n *\n * @addProseMirrorPlugins\n * This method adds a ProseMirror plugin to the node. The plugin appends a transaction that groups\n * all nodes after a horizontal rule (`horizontalRule`) into a single `conversationHistory` node.\n *\n * @plugin\n * The plugin's `appendTransaction` method is called whenever a transaction is appended. It checks\n * for nodes after a horizontal rule and groups them into a `conversationHistory` node if any are\n * found.\n *\n * @param transactions - The list of transactions that have been applied.\n * @param oldState - The previous editor state.\n * @param newState - The new editor state.\n * @returns A new transaction if modifications were made, otherwise `null`.\n */\nexport const ConversationHistory = Node.create({\n name: 'converstationHistory',\n group: 'block',\n content: 'block',\n\n parseHTML() {\n return [\n {\n tag: 'div.conversation-history',\n },\n ];\n },\n\n renderHTML({ HTMLAttributes }) {\n return [\n 'div',\n mergeAttributes(HTMLAttributes, { class: 'conversation-history' }),\n 0,\n ];\n },\n\n /**\n * Adds custom ProseMirror plugins to the editor.\n * When a horizontal rule is encountered, this plugin collects all nodes\n * following the horizontal rule until the end of the document.\n * These nodes are then grouped together and replaced with\n * a single node of the same type as the plugin's type.\n *\n * @returns {Plugin[]} An array of ProseMirror plugins.\n */\n addProseMirrorPlugins() {\n return [\n new Plugin({\n appendTransaction: (transactions, oldState, newState) => {\n const tr = newState.tr;\n let modified = false;\n const nodesAfterHr = [];\n\n newState.doc.descendants((node, pos, parent) => {\n if (\n node.type.name === 'horizontalRule' &&\n parent.type.name === 'doc'\n ) {\n const start = pos;\n const end = newState.doc.content.size;\n\n newState.doc.nodesBetween(start, end, (n, p, parent) => {\n if (\n n.type.name !== 'horizontalRule' &&\n parent.type.name === 'doc'\n ) {\n nodesAfterHr.push({ node: n, pos: p });\n } else {\n return false;\n }\n });\n\n if (nodesAfterHr.length > 0) {\n const groupNode = this.type.create(\n {},\n nodesAfterHr.map((n) => n.node),\n );\n tr.replaceWith(start, end, groupNode);\n modified = true;\n }\n return false;\n }\n });\n\n return modified ? tr : null;\n },\n }),\n ];\n },\n});\n"],"names":["Node","mergeAttributes","Plugin","parent"],"mappings":"iKAiCa,oBAAsBA,UAAK,OAAO,CAC7C,KAAM,uBACN,MAAO,QACP,QAAS,QAET,WAAY,CACH,MAAA,CACL,CACE,IAAK,0BAAA,CAET,CACF,EAEA,WAAW,CAAE,gBAAkB,CACtB,MAAA,CACL,MACAC,KAAAA,gBAAgB,eAAgB,CAAE,MAAO,uBAAwB,EACjE,CACF,CACF,EAWA,uBAAwB,CACf,MAAA,CACL,IAAIC,wBAAO,CACT,kBAAmB,CAAC,aAAc,SAAU,WAAa,CACvD,MAAM,GAAK,SAAS,GACpB,IAAI,SAAW,GACf,MAAM,aAAe,CAAC,EAEtB,gBAAS,IAAI,YAAY,CAAC,KAAM,IAAK,SAAW,CAC9C,GACE,KAAK,KAAK,OAAS,kBACnB,OAAO,KAAK,OAAS,MACrB,CACA,MAAM,MAAQ,IACR,IAAM,SAAS,IAAI,QAAQ,KAa7B,GAXJ,SAAS,IAAI,aAAa,MAAO,IAAK,CAAC,EAAG,EAAGC,UAAW,CACtD,GACE,EAAE,KAAK,OAAS,kBAChBA,QAAO,KAAK,OAAS,MAErB,aAAa,KAAK,CAAE,KAAM,EAAG,IAAK,EAAG,MAE9B,OAAA,EACT,CACD,EAEG,aAAa,OAAS,EAAG,CACrB,MAAA,UAAY,KAAK,KAAK,OAC1B,CAAC,EACD,aAAa,IAAK,GAAM,EAAE,IAAI,CAChC,EACG,GAAA,YAAY,MAAO,IAAK,SAAS,EACzB,SAAA,EAAA,CAEN,MAAA,EAAA,CACT,CACD,EAEM,SAAW,GAAK,IAAA,CAE1B,CAAA,CACH,CAAA,CAEJ,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
/**
|
|
3
|
+
* The `ConversationHistory` node is a custom ProseMirror node that represents a block-level
|
|
4
|
+
* container for conversation history. It is implemented using the `@tiptap/core` library.
|
|
5
|
+
*
|
|
6
|
+
* @name ConversationHistory
|
|
7
|
+
* @group block
|
|
8
|
+
* @content block
|
|
9
|
+
*
|
|
10
|
+
* @parseHTML
|
|
11
|
+
* This method defines how to parse the HTML representation of the node. It looks for a `div`
|
|
12
|
+
* element with the class `conversation-history`.
|
|
13
|
+
*
|
|
14
|
+
* @renderHTML
|
|
15
|
+
* This method defines how to render the node as HTML. It creates a `div` element with the class
|
|
16
|
+
* `conversation-history`.
|
|
17
|
+
*
|
|
18
|
+
* @addProseMirrorPlugins
|
|
19
|
+
* This method adds a ProseMirror plugin to the node. The plugin appends a transaction that groups
|
|
20
|
+
* all nodes after a horizontal rule (`horizontalRule`) into a single `conversationHistory` node.
|
|
21
|
+
*
|
|
22
|
+
* @plugin
|
|
23
|
+
* The plugin's `appendTransaction` method is called whenever a transaction is appended. It checks
|
|
24
|
+
* for nodes after a horizontal rule and groups them into a `conversationHistory` node if any are
|
|
25
|
+
* found.
|
|
26
|
+
*
|
|
27
|
+
* @param transactions - The list of transactions that have been applied.
|
|
28
|
+
* @param oldState - The previous editor state.
|
|
29
|
+
* @param newState - The new editor state.
|
|
30
|
+
* @returns A new transaction if modifications were made, otherwise `null`.
|
|
31
|
+
*/
|
|
32
|
+
export declare const ConversationHistory: Node<any, any>;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Node, mergeAttributes } from "@tiptap/core";
|
|
2
|
+
import { Plugin } from "prosemirror-state";
|
|
3
|
+
const ConversationHistory = Node.create({
|
|
4
|
+
name: "converstationHistory",
|
|
5
|
+
group: "block",
|
|
6
|
+
content: "block",
|
|
7
|
+
parseHTML() {
|
|
8
|
+
return [
|
|
9
|
+
{
|
|
10
|
+
tag: "div.conversation-history"
|
|
11
|
+
}
|
|
12
|
+
];
|
|
13
|
+
},
|
|
14
|
+
renderHTML({ HTMLAttributes }) {
|
|
15
|
+
return [
|
|
16
|
+
"div",
|
|
17
|
+
mergeAttributes(HTMLAttributes, { class: "conversation-history" }),
|
|
18
|
+
0
|
|
19
|
+
];
|
|
20
|
+
},
|
|
21
|
+
/**
|
|
22
|
+
* Adds custom ProseMirror plugins to the editor.
|
|
23
|
+
* When a horizontal rule is encountered, this plugin collects all nodes
|
|
24
|
+
* following the horizontal rule until the end of the document.
|
|
25
|
+
* These nodes are then grouped together and replaced with
|
|
26
|
+
* a single node of the same type as the plugin's type.
|
|
27
|
+
*
|
|
28
|
+
* @returns {Plugin[]} An array of ProseMirror plugins.
|
|
29
|
+
*/
|
|
30
|
+
addProseMirrorPlugins() {
|
|
31
|
+
return [
|
|
32
|
+
new Plugin({
|
|
33
|
+
appendTransaction: (transactions, oldState, newState) => {
|
|
34
|
+
const tr = newState.tr;
|
|
35
|
+
let modified = !1;
|
|
36
|
+
const nodesAfterHr = [];
|
|
37
|
+
return newState.doc.descendants((node, pos, parent) => {
|
|
38
|
+
if (node.type.name === "horizontalRule" && parent.type.name === "doc") {
|
|
39
|
+
const start = pos, end = newState.doc.content.size;
|
|
40
|
+
if (newState.doc.nodesBetween(start, end, (n, p, parent2) => {
|
|
41
|
+
if (n.type.name !== "horizontalRule" && parent2.type.name === "doc")
|
|
42
|
+
nodesAfterHr.push({ node: n, pos: p });
|
|
43
|
+
else
|
|
44
|
+
return !1;
|
|
45
|
+
}), nodesAfterHr.length > 0) {
|
|
46
|
+
const groupNode = this.type.create(
|
|
47
|
+
{},
|
|
48
|
+
nodesAfterHr.map((n) => n.node)
|
|
49
|
+
);
|
|
50
|
+
tr.replaceWith(start, end, groupNode), modified = !0;
|
|
51
|
+
}
|
|
52
|
+
return !1;
|
|
53
|
+
}
|
|
54
|
+
}), modified ? tr : null;
|
|
55
|
+
}
|
|
56
|
+
})
|
|
57
|
+
];
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
ConversationHistory
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=conversation-history.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-history.js","sources":["../../src/conversation-history/conversation-history.ts"],"sourcesContent":["import { mergeAttributes, Node } from '@tiptap/core';\nimport { Plugin } from 'prosemirror-state';\n\n/**\n * The `ConversationHistory` node is a custom ProseMirror node that represents a block-level\n * container for conversation history. It is implemented using the `@tiptap/core` library.\n *\n * @name ConversationHistory\n * @group block\n * @content block\n *\n * @parseHTML\n * This method defines how to parse the HTML representation of the node. It looks for a `div`\n * element with the class `conversation-history`.\n *\n * @renderHTML\n * This method defines how to render the node as HTML. It creates a `div` element with the class\n * `conversation-history`.\n *\n * @addProseMirrorPlugins\n * This method adds a ProseMirror plugin to the node. The plugin appends a transaction that groups\n * all nodes after a horizontal rule (`horizontalRule`) into a single `conversationHistory` node.\n *\n * @plugin\n * The plugin's `appendTransaction` method is called whenever a transaction is appended. It checks\n * for nodes after a horizontal rule and groups them into a `conversationHistory` node if any are\n * found.\n *\n * @param transactions - The list of transactions that have been applied.\n * @param oldState - The previous editor state.\n * @param newState - The new editor state.\n * @returns A new transaction if modifications were made, otherwise `null`.\n */\nexport const ConversationHistory = Node.create({\n name: 'converstationHistory',\n group: 'block',\n content: 'block',\n\n parseHTML() {\n return [\n {\n tag: 'div.conversation-history',\n },\n ];\n },\n\n renderHTML({ HTMLAttributes }) {\n return [\n 'div',\n mergeAttributes(HTMLAttributes, { class: 'conversation-history' }),\n 0,\n ];\n },\n\n /**\n * Adds custom ProseMirror plugins to the editor.\n * When a horizontal rule is encountered, this plugin collects all nodes\n * following the horizontal rule until the end of the document.\n * These nodes are then grouped together and replaced with\n * a single node of the same type as the plugin's type.\n *\n * @returns {Plugin[]} An array of ProseMirror plugins.\n */\n addProseMirrorPlugins() {\n return [\n new Plugin({\n appendTransaction: (transactions, oldState, newState) => {\n const tr = newState.tr;\n let modified = false;\n const nodesAfterHr = [];\n\n newState.doc.descendants((node, pos, parent) => {\n if (\n node.type.name === 'horizontalRule' &&\n parent.type.name === 'doc'\n ) {\n const start = pos;\n const end = newState.doc.content.size;\n\n newState.doc.nodesBetween(start, end, (n, p, parent) => {\n if (\n n.type.name !== 'horizontalRule' &&\n parent.type.name === 'doc'\n ) {\n nodesAfterHr.push({ node: n, pos: p });\n } else {\n return false;\n }\n });\n\n if (nodesAfterHr.length > 0) {\n const groupNode = this.type.create(\n {},\n nodesAfterHr.map((n) => n.node),\n );\n tr.replaceWith(start, end, groupNode);\n modified = true;\n }\n return false;\n }\n });\n\n return modified ? tr : null;\n },\n }),\n ];\n },\n});\n"],"names":["parent"],"mappings":";;AAiCa,MAAA,sBAAsB,KAAK,OAAO;AAAA,EAC7C,MAAM;AAAA,EACN,OAAO;AAAA,EACP,SAAS;AAAA,EAET,YAAY;AACH,WAAA;AAAA,MACL;AAAA,QACE,KAAK;AAAA,MAAA;AAAA,IAET;AAAA,EACF;AAAA,EAEA,WAAW,EAAE,kBAAkB;AACtB,WAAA;AAAA,MACL;AAAA,MACA,gBAAgB,gBAAgB,EAAE,OAAO,wBAAwB;AAAA,MACjE;AAAA,IACF;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,wBAAwB;AACf,WAAA;AAAA,MACL,IAAI,OAAO;AAAA,QACT,mBAAmB,CAAC,cAAc,UAAU,aAAa;AACvD,gBAAM,KAAK,SAAS;AACpB,cAAI,WAAW;AACf,gBAAM,eAAe,CAAC;AAEtB,0BAAS,IAAI,YAAY,CAAC,MAAM,KAAK,WAAW;AAC9C,gBACE,KAAK,KAAK,SAAS,oBACnB,OAAO,KAAK,SAAS,OACrB;AACA,oBAAM,QAAQ,KACR,MAAM,SAAS,IAAI,QAAQ;AAa7B,kBAXJ,SAAS,IAAI,aAAa,OAAO,KAAK,CAAC,GAAG,GAAGA,YAAW;AACtD,oBACE,EAAE,KAAK,SAAS,oBAChBA,QAAO,KAAK,SAAS;AAErB,+BAAa,KAAK,EAAE,MAAM,GAAG,KAAK,GAAG;AAAA;AAE9B,yBAAA;AAAA,cACT,CACD,GAEG,aAAa,SAAS,GAAG;AACrB,sBAAA,YAAY,KAAK,KAAK;AAAA,kBAC1B,CAAC;AAAA,kBACD,aAAa,IAAI,CAAC,MAAM,EAAE,IAAI;AAAA,gBAChC;AACG,mBAAA,YAAY,OAAO,KAAK,SAAS,GACzB,WAAA;AAAA,cAAA;AAEN,qBAAA;AAAA,YAAA;AAAA,UACT,CACD,GAEM,WAAW,KAAK;AAAA,QAAA;AAAA,MAE1B,CAAA;AAAA,IACH;AAAA,EAAA;AAEJ,CAAC;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './conversation-history';
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const abbr=require("./abbr/abbr.cjs"),alert=require("./alert/alert.cjs"),attachmentTransformer=require("./attachment/attachment-transformer.cjs"),attachment=require("./attachment/attachment.cjs"),audio=require("./audio/audio.cjs"),fontSize=require("./font-size/font-size.cjs"),heading=require("./heading/heading.cjs"),highlight=require("./highlight/highlight.cjs"),hyperlink=require("./hyperlink/hyperlink.cjs"),iframe=require("./iframe/iframe.cjs"),image=require("./image/image.cjs"),lineHeight=require("./line-height/line-height.cjs"),linker=require("./linker/linker.cjs"),mathjax=require("./mathjax/mathjax.cjs"),paragraph=require("./paragraph/paragraph.cjs"),speechRecognition=require("./speech-recognition/speech-recognition.cjs"),speechSynthesis=require("./speech-synthesis/speech-synthesis.cjs"),tableCell=require("./table-cell/table-cell.cjs"),htmlToJson=require("./transform/html-to-json/html-to-json.cjs"),jsonToHtml=require("./transform/json-to-html/json-to-html.cjs"),video=require("./video/video.cjs");exports.Abbr=abbr.Abbr;exports.Alert=alert.Alert;exports.AttachmentTransformer=attachmentTransformer.AttachmentTransformer;exports.Attachment=attachment.Attachment;exports.Audio=audio.Audio;exports.FontSize=fontSize.FontSize;exports.CustomHeading=heading.CustomHeading;exports.CustomHighlight=highlight.CustomHighlight;exports.Hyperlink=hyperlink.Hyperlink;exports.Iframe=iframe.Iframe;exports.IMAGE_INPUT_REGEX=image.IMAGE_INPUT_REGEX;exports.Image=image.Image;exports.LineHeight=lineHeight.LineHeight;exports.Linker=linker.Linker;exports.MathJax=mathjax.MathJax;exports.Paragraph=paragraph.Paragraph;exports.SpeechRecognition=speechRecognition.SpeechRecognition;exports.SpeechSynthesis=speechSynthesis.SpeechSynthesis;exports.TableCell=tableCell.TableCell;exports.htmlToJson=htmlToJson;exports.jsonToHtml=jsonToHtml;exports.Video=video.Video;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const abbr=require("./abbr/abbr.cjs"),alert=require("./alert/alert.cjs"),attachmentTransformer=require("./attachment/attachment-transformer.cjs"),attachment=require("./attachment/attachment.cjs"),audio=require("./audio/audio.cjs"),conversationHistory=require("./conversation-history/conversation-history.cjs"),fontSize=require("./font-size/font-size.cjs"),heading=require("./heading/heading.cjs"),highlight=require("./highlight/highlight.cjs"),hyperlink=require("./hyperlink/hyperlink.cjs"),iframe=require("./iframe/iframe.cjs"),image=require("./image/image.cjs"),lineHeight=require("./line-height/line-height.cjs"),linker=require("./linker/linker.cjs"),mathjax=require("./mathjax/mathjax.cjs"),paragraph=require("./paragraph/paragraph.cjs"),speechRecognition=require("./speech-recognition/speech-recognition.cjs"),speechSynthesis=require("./speech-synthesis/speech-synthesis.cjs"),tableCell=require("./table-cell/table-cell.cjs"),htmlToJson=require("./transform/html-to-json/html-to-json.cjs"),jsonToHtml=require("./transform/json-to-html/json-to-html.cjs"),video=require("./video/video.cjs");exports.Abbr=abbr.Abbr;exports.Alert=alert.Alert;exports.AttachmentTransformer=attachmentTransformer.AttachmentTransformer;exports.Attachment=attachment.Attachment;exports.Audio=audio.Audio;exports.ConversationHistory=conversationHistory.ConversationHistory;exports.FontSize=fontSize.FontSize;exports.CustomHeading=heading.CustomHeading;exports.CustomHighlight=highlight.CustomHighlight;exports.Hyperlink=hyperlink.Hyperlink;exports.Iframe=iframe.Iframe;exports.IMAGE_INPUT_REGEX=image.IMAGE_INPUT_REGEX;exports.Image=image.Image;exports.LineHeight=lineHeight.LineHeight;exports.Linker=linker.Linker;exports.MathJax=mathjax.MathJax;exports.Paragraph=paragraph.Paragraph;exports.SpeechRecognition=speechRecognition.SpeechRecognition;exports.SpeechSynthesis=speechSynthesis.SpeechSynthesis;exports.TableCell=tableCell.TableCell;exports.htmlToJson=htmlToJson;exports.jsonToHtml=jsonToHtml;exports.Video=video.Video;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import { Alert } from "./alert/alert.js";
|
|
|
3
3
|
import { AttachmentTransformer } from "./attachment/attachment-transformer.js";
|
|
4
4
|
import { Attachment } from "./attachment/attachment.js";
|
|
5
5
|
import { Audio } from "./audio/audio.js";
|
|
6
|
+
import { ConversationHistory } from "./conversation-history/conversation-history.js";
|
|
6
7
|
import { FontSize } from "./font-size/font-size.js";
|
|
7
8
|
import { CustomHeading } from "./heading/heading.js";
|
|
8
9
|
import { CustomHighlight } from "./highlight/highlight.js";
|
|
@@ -25,6 +26,7 @@ export {
|
|
|
25
26
|
Attachment,
|
|
26
27
|
AttachmentTransformer,
|
|
27
28
|
Audio,
|
|
29
|
+
ConversationHistory,
|
|
28
30
|
CustomHeading,
|
|
29
31
|
CustomHighlight,
|
|
30
32
|
FontSize,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/tiptap-extensions",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1-develop-b2school.20250326170945",
|
|
4
4
|
"description": "Edifice Rich Text Editor Extensions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"edifice",
|
|
@@ -42,6 +42,10 @@
|
|
|
42
42
|
"import": "./dist/audio/audio.js",
|
|
43
43
|
"require": "./dist/audio/audio.cjs"
|
|
44
44
|
},
|
|
45
|
+
"./conversation-history": {
|
|
46
|
+
"import": "./dist/conversation-history/conversation-history.js",
|
|
47
|
+
"require": "./dist/conversation-history/conversation-history.cjs"
|
|
48
|
+
},
|
|
45
49
|
"./font-size": {
|
|
46
50
|
"import": "./dist/font-size/font-size.js",
|
|
47
51
|
"require": "./dist/font-size/font-size.cjs"
|
|
@@ -130,11 +134,11 @@
|
|
|
130
134
|
"prosemirror-view": "^1.27.0",
|
|
131
135
|
"vite": "^5.4.11",
|
|
132
136
|
"vite-plugin-dts": "^4.1.0",
|
|
133
|
-
"@edifice.io/utilities": "2.2.
|
|
137
|
+
"@edifice.io/utilities": "2.2.1-develop-b2school.20250326170945"
|
|
134
138
|
},
|
|
135
139
|
"devDependencies": {
|
|
136
140
|
"@types/dom-speech-recognition": "^0.0.1",
|
|
137
|
-
"@edifice.io/client": "2.2.
|
|
141
|
+
"@edifice.io/client": "2.2.1-develop-b2school.20250326170945"
|
|
138
142
|
},
|
|
139
143
|
"publishConfig": {
|
|
140
144
|
"access": "public"
|