@replohq/sandbox-runtime 1.13.3 → 1.13.4
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.
|
|
3
|
+
"version": "1.13.4",
|
|
4
4
|
"branch": "HEAD",
|
|
5
|
-
"commit": "
|
|
6
|
-
"builtAt": "2026-10-
|
|
5
|
+
"commit": "846cda8229162197eb0c6dc9c32ce08fccd2d89e",
|
|
6
|
+
"builtAt": "2026-10-12T04:17:30.872Z"
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@replohq/sandbox-runtime",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.4",
|
|
4
4
|
"reploBuild": {
|
|
5
5
|
"packageName": "@replohq/sandbox-runtime",
|
|
6
|
-
"version": "1.13.
|
|
6
|
+
"version": "1.13.4",
|
|
7
7
|
"branch": "HEAD",
|
|
8
|
-
"commit": "
|
|
9
|
-
"builtAt": "2026-10-
|
|
8
|
+
"commit": "846cda8229162197eb0c6dc9c32ce08fccd2d89e",
|
|
9
|
+
"builtAt": "2026-10-12T04:17:30.872Z"
|
|
10
10
|
},
|
|
11
11
|
"description": "Replo sandbox runtime — editor integration for agent-built Next.js sites.",
|
|
12
12
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -268,7 +268,7 @@ const selectModeStore = createShallowStore(
|
|
|
268
268
|
onCommit: commitInlineEdit,
|
|
269
269
|
onEscape: revertInlineEdit,
|
|
270
270
|
onBlur: handleBlur,
|
|
271
|
-
|
|
271
|
+
onActiveMarksChange: (activeMarks) => {
|
|
272
272
|
set({ activeMarks });
|
|
273
273
|
reportInlineEditingState({
|
|
274
274
|
activeMarks,
|
|
@@ -289,7 +289,7 @@ const selectModeStore = createShallowStore(
|
|
|
289
289
|
});
|
|
290
290
|
editor.focusAndSelectAll();
|
|
291
291
|
reportInlineEditingState({
|
|
292
|
-
activeMarks:
|
|
292
|
+
activeMarks: get().activeMarks,
|
|
293
293
|
isInlineEditing: true,
|
|
294
294
|
request: null
|
|
295
295
|
});
|
|
@@ -8,13 +8,13 @@ export type InlineTiptapEditor = {
|
|
|
8
8
|
getJSON: () => JSONContent;
|
|
9
9
|
runFormatCommand: (command: SelectModeFormatCommand) => void;
|
|
10
10
|
};
|
|
11
|
-
export declare function createInlineTiptapEditor({ element, content, onCommit, onEscape, onBlur,
|
|
11
|
+
export declare function createInlineTiptapEditor({ element, content, onCommit, onEscape, onBlur, onActiveMarksChange, }: {
|
|
12
12
|
element: HTMLElement;
|
|
13
13
|
content: string;
|
|
14
14
|
onCommit: () => void;
|
|
15
15
|
onEscape: () => void;
|
|
16
16
|
onBlur: () => void;
|
|
17
|
-
|
|
17
|
+
onActiveMarksChange: (activeMarks: {
|
|
18
18
|
bold: boolean;
|
|
19
19
|
italic: boolean;
|
|
20
20
|
underline: boolean;
|
|
@@ -60,7 +60,7 @@ function createInlineTiptapEditor({
|
|
|
60
60
|
onCommit,
|
|
61
61
|
onEscape,
|
|
62
62
|
onBlur,
|
|
63
|
-
|
|
63
|
+
onActiveMarksChange
|
|
64
64
|
}) {
|
|
65
65
|
const originalAttributes = Array.from(
|
|
66
66
|
element.attributes,
|
|
@@ -107,8 +107,8 @@ function createInlineTiptapEditor({
|
|
|
107
107
|
return false;
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
onTransaction: ({ editor: activeEditor }) => {
|
|
111
|
+
onActiveMarksChange({
|
|
112
112
|
bold: activeEditor.isActive("bold"),
|
|
113
113
|
italic: activeEditor.isActive("italic"),
|
|
114
114
|
underline: activeEditor.isActive("underline"),
|