@bendyline/squisq-editor-react 2.4.3 → 2.4.5
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.
|
@@ -32328,6 +32328,7 @@ function TimelineCompositionPanel({
|
|
|
32328
32328
|
workspaceContainer,
|
|
32329
32329
|
documentTitleFromFileName(fileName)
|
|
32330
32330
|
);
|
|
32331
|
+
const contentDoc = projection?.contentDoc ?? null;
|
|
32331
32332
|
const playerDoc = projection?.playerDoc ?? null;
|
|
32332
32333
|
const totalDuration = useMemo43(
|
|
32333
32334
|
() => playerDoc ? getDocPlaybackDuration2(playerDoc) : 0,
|
|
@@ -32390,6 +32391,7 @@ function TimelineCompositionPanel({
|
|
|
32390
32391
|
doc: playerDoc,
|
|
32391
32392
|
basePath,
|
|
32392
32393
|
audioController,
|
|
32394
|
+
audioMode: contentDoc?.audio?.segments?.length ? "media" : "synthetic",
|
|
32393
32395
|
showControls: false,
|
|
32394
32396
|
showScrubber: false,
|
|
32395
32397
|
muted: true,
|
package/dist/index.js
CHANGED
package/dist/shell/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/squisq-editor-react",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.5",
|
|
4
4
|
"description": "React editor shell with raw/WYSIWYG/preview modes for Squisq documents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"@bendyline/squisq": "2.4.3",
|
|
88
88
|
"@bendyline/squisq-formats": "2.3.7",
|
|
89
|
-
"@bendyline/squisq-react": "2.4.
|
|
89
|
+
"@bendyline/squisq-react": "2.4.5",
|
|
90
90
|
"@fortawesome/fontawesome-free": "7.2.0",
|
|
91
91
|
"@tiptap/core": "2.27.2",
|
|
92
92
|
"@tiptap/extension-heading": "2.27.2",
|