fix: Chapter numbering and preserve custom titles on segment reorder (#1435)

* FIX: Preserve custom chapter titles when renumbering (151)

Updated the renumberAllSegments function to only update chapter titles that match the default 'Chapter X' pattern, preserving any custom titles. Also ensured segments are renumbered after updates for consistent chronological naming.

* build assets (chapters editor)
This commit is contained in:
Yiannis Christodoulou
2025-11-21 12:29:19 +02:00
committed by GitHub
parent 9b3d9fe1e7
commit cd7dd4f72c
3 changed files with 63 additions and 56 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long