gitea/web_src/js
silverwind 2896dac536
Fix state desync in ComboMarkdownEditor (#36625)
Fixes https://github.com/go-gitea/gitea/issues/24253

When a tasklist checkbox is clicked, the tasklist code [updates
`.raw-content` with latest server
data](7a8fe9eb37/web_src/js/markup/tasklist.ts (L73))
in the DOM after POSTing.

Then when "Edit" is clicked the ComboMarkdownEditor is shown with a
stale value from the previous edit session.

The fix makes it always read from `.raw-content`, no server
syncronization necessary because the value in `.raw-content` is the
latest from the server.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-02-16 00:49:03 +00:00
..
components Persist actions log time display settings in `localStorage` (#36623) 2026-02-15 19:41:59 +00:00
features Fix state desync in ComboMarkdownEditor (#36625) 2026-02-16 00:49:03 +00:00
markup Fix markup code block layout (#36578) 2026-02-11 03:22:33 +00:00
modules Persist actions log time display settings in `localStorage` (#36623) 2026-02-15 19:41:59 +00:00
render Misc typescript tweaks (#36523) 2026-02-10 05:09:56 +00:00
standalone Forbid localStorage access in eslint (#36461) 2026-01-27 19:59:51 +00:00
utils Update emoji data for Unicode 16 (#36596) 2026-02-12 21:39:36 +00:00
vendor Show edit page confirmation dialog on tree view file change (#36130) 2025-12-20 02:29:39 +01:00
webcomponents Prevent navigation keys from triggering actions during IME composition (#36540) 2026-02-08 14:39:09 +08:00
bootstrap.test.ts Adapt monaco error matching pattern to recent webpack config change (#36533) 2026-02-12 20:59:13 +00:00
bootstrap.ts Adapt monaco error matching pattern to recent webpack config change (#36533) 2026-02-12 20:59:13 +00:00
globals.d.ts Misc typescript tweaks (#36523) 2026-02-10 05:09:56 +00:00
globals.ts Merge index.js (#34963) 2025-07-06 04:55:16 +00:00
htmx.ts Enable TypeScript `strictNullChecks` (#35843) 2025-12-03 02:13:16 +00:00
index-domready.ts Automatic generation of release notes (#35977) 2025-12-17 02:01:19 +00:00
index.ts Fix and enhance comment editor monospace toggle (#36181) 2026-01-26 14:19:47 +00:00
svg.test.ts Remove "class-name" from svg icon (#33540) 2025-02-09 22:39:54 +02:00
svg.ts Fix markup code block layout (#36578) 2026-02-11 03:22:33 +00:00
types.ts Misc typescript tweaks (#36523) 2026-02-10 05:09:56 +00:00
utils.test.ts Fix various bugs (#36446) 2026-01-24 11:30:47 +00:00
utils.ts Fix various bugs (#36446) 2026-01-24 11:30:47 +00:00
vitest.setup.ts Replace CSRF cookie with `CrossOriginProtection` (#36183) 2025-12-25 12:33:34 +02:00