Bubble [main]

Auto-update post title from first segment

Jaakko Keränen

Fri Oct 11 13:31:20 2024 +0300

Regardless of whether you are creating or editing segments,

if the first text segment starts with a level 1 heading, it

is extracted and used as the post title.

 composer.py | 16 ++++++++++++++++
 feeds.py    | 10 +---------
 model.py    | 20 ++++++++++++++++++--
 settings.py |  2 +-
 utils.py    | 13 +++++++++++++
 5 files changed, 49 insertions(+), 12 deletions(-)
Diff (Colored)
Diff (Colored, Plain Text)
🔨 Patch
Parent fc6c458
Repository