@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
@@ -194,7 +194,7 @@ import {
194
194
  usePreviewSettings,
195
195
  useTimelineData,
196
196
  useTreeViewData
197
- } from "./chunk-JGW6BJZJ.js";
197
+ } from "./chunk-7OKWPWEQ.js";
198
198
  import "./chunk-V4NBQF5C.js";
199
199
  import {
200
200
  JsonEditor
@@ -5,7 +5,7 @@ import {
5
5
  RawEditor,
6
6
  WysiwygEditor,
7
7
  useEditorContext
8
- } from "../chunk-JGW6BJZJ.js";
8
+ } from "../chunk-7OKWPWEQ.js";
9
9
  import "../chunk-V4NBQF5C.js";
10
10
  import "../chunk-WLJ623UZ.js";
11
11
  import "../chunk-V44VP242.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bendyline/squisq-editor-react",
3
- "version": "2.4.3",
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.3",
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",