@replohq/sandbox-runtime 1.13.1 → 1.13.3

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/buildMetadata.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export const BUILD_METADATA = {
2
2
  "packageName": "@replohq/sandbox-runtime",
3
- "version": "1.13.1",
3
+ "version": "1.13.3",
4
4
  "branch": "HEAD",
5
- "commit": "f463e758b50787368d786b5577f8d15f266e20d1",
6
- "builtAt": "2026-10-11T00:58:38.575Z"
5
+ "commit": "961dc0c36bd9b26ea89d2a42057a671cd449165d",
6
+ "builtAt": "2026-10-11T15:32:35.895Z"
7
7
  };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@replohq/sandbox-runtime",
3
- "version": "1.13.1",
3
+ "version": "1.13.3",
4
4
  "reploBuild": {
5
5
  "packageName": "@replohq/sandbox-runtime",
6
- "version": "1.13.1",
6
+ "version": "1.13.3",
7
7
  "branch": "HEAD",
8
- "commit": "f463e758b50787368d786b5577f8d15f266e20d1",
9
- "builtAt": "2026-10-11T00:58:38.575Z"
8
+ "commit": "961dc0c36bd9b26ea89d2a42057a671cd449165d",
9
+ "builtAt": "2026-10-11T15:32:35.895Z"
10
10
  },
11
11
  "description": "Replo sandbox runtime — editor integration for agent-built Next.js sites.",
12
12
  "license": "SEE LICENSE IN LICENSE",
@@ -35,6 +35,7 @@
35
35
  "@tiptap/core": "^2.25.0",
36
36
  "@tiptap/extension-bold": "^2.25.0",
37
37
  "@tiptap/extension-document": "^2.25.0",
38
+ "@tiptap/extension-history": "^2.25.0",
38
39
  "@tiptap/extension-italic": "^2.25.0",
39
40
  "@tiptap/extension-strike": "^2.25.0",
40
41
  "@tiptap/extension-text": "^2.25.0",
@@ -1,6 +1,7 @@
1
- import { Editor, Mark, Node } from "@tiptap/core";
1
+ import { Editor, Extension, Mark, Node } from "@tiptap/core";
2
2
  import Bold from "@tiptap/extension-bold";
3
3
  import Document from "@tiptap/extension-document";
4
+ import History from "@tiptap/extension-history";
4
5
  import Italic from "@tiptap/extension-italic";
5
6
  import Strike from "@tiptap/extension-strike";
6
7
  import Text from "@tiptap/extension-text";
@@ -22,12 +23,25 @@ const InlineBreak = Node.create({
22
23
  };
23
24
  }
24
25
  });
26
+ const InlineMarkStyles = Extension.create({
27
+ name: "inlineMarkStyles",
28
+ addGlobalAttributes() {
29
+ return [
30
+ {
31
+ types: ["bold", "italic", "underline", "strike", "link"],
32
+ attributes: {
33
+ class: { default: null },
34
+ style: { default: null }
35
+ }
36
+ }
37
+ ];
38
+ }
39
+ });
25
40
  const InlineLink = Mark.create({
26
41
  name: "link",
27
42
  inclusive: false,
28
43
  addAttributes() {
29
44
  return {
30
- class: { default: null },
31
45
  href: { default: null },
32
46
  rel: { default: null },
33
47
  target: { default: null }
@@ -64,13 +78,15 @@ function createInlineTiptapEditor({
64
78
  content,
65
79
  extensions: [
66
80
  InlineDocument,
81
+ History,
67
82
  Text,
68
83
  InlineBreak,
69
84
  Bold,
70
85
  Italic,
71
86
  Underline,
72
87
  Strike,
73
- InlineLink
88
+ InlineLink,
89
+ InlineMarkStyles
74
90
  ],
75
91
  editorProps: {
76
92
  attributes: {