@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.js CHANGED
@@ -3086,6 +3086,9 @@ function useScreenplayEditor(options) {
3086
3086
  }
3087
3087
  }
3088
3088
  }
3089
+ if (onSaveRef.current && !isInitialLoad) {
3090
+ onSaveRef.current(finalizedBlocks);
3091
+ }
3089
3092
  setTimeout(() => {
3090
3093
  var _a2;
3091
3094
  const firstId = parsedBlocks[0].id;