summaryrefslogtreecommitdiff
path: root/public/assets/tinymce/plugins/table/plugin-3e12ee54fd584c178d41b56d9d9c9f1288c5eb1ffa272c17ae8f302dd5fda0e0.js
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-06 16:59:19 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-06 16:59:19 +0200
commit3dbf522783dfce496884e05559dc962cae4b1e1b (patch)
tree9b5c90ee05027dda9eb24b4c1968674a4a1e029f /public/assets/tinymce/plugins/table/plugin-3e12ee54fd584c178d41b56d9d9c9f1288c5eb1ffa272c17ae8f302dd5fda0e0.js
parent1393b3de31d95b1aa5122d6da37bd3259830bdb6 (diff)
Apply slug immediately for never-published nodes
staged_slug existed to protect a live public URL from changing until an editor explicitly publishes - correct once a node has a head, but nodes_controller#update wrote to it unconditionally, so a brand-new node being renamed before its first-ever publish showed a stale slug in previews (e.g. nodes#new's resulting-path preview) that silently diverged from what would actually go live. Node#staged_slug= now applies directly to slug when head is blank - nothing is live yet, so there's nothing to protect. Once head is present, defers to staged_slug exactly as before. Verified both paths directly: a never-published node's slug now updates immediately, and an already-published node's rename still stays deferred until the next publish, unchanged from existing behavior.
Diffstat (limited to 'public/assets/tinymce/plugins/table/plugin-3e12ee54fd584c178d41b56d9d9c9f1288c5eb1ffa272c17ae8f302dd5fda0e0.js')
0 files changed, 0 insertions, 0 deletions