@capytale/meta-player 0.5.18 → 0.5.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capytale/meta-player",
3
- "version": "0.5.18",
3
+ "version": "0.5.19",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -24,9 +24,9 @@ const InstructionsEditor: React.FC = forwardRef((_props, ref) => {
24
24
  const htmlInitialContent = useMemo(() => {
25
25
  return initialInstructions?.format === "lexical"
26
26
  ? undefined
27
- : initialInstructions?.value === null
27
+ : initialInstructions?.htmlValue === null
28
28
  ? undefined
29
- : (initialInstructions?.value as string) || ""; // HTML content in value
29
+ : (initialInstructions?.htmlValue as string) || ""; // HTML content in value
30
30
  }, [initialInstructions]);
31
31
  const initialEditorState = useMemo(() => {
32
32
  return initialInstructions?.format === "lexical"