@vishu1301/script-writing 1.6.1 → 1.6.2

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/dist/index.cjs CHANGED
@@ -3114,6 +3114,9 @@ function useScreenplayEditor(options) {
3114
3114
  }
3115
3115
  }
3116
3116
  }
3117
+ if (onSaveRef.current && !isInitialLoad) {
3118
+ onSaveRef.current(finalizedBlocks);
3119
+ }
3117
3120
  setTimeout(() => {
3118
3121
  var _a2;
3119
3122
  const firstId = parsedBlocks[0].id;