Files
HenrySu-sudo 39ad969b0b MUL-7456 fix(editor): open the mention picker at any token boundary, not only after a half-width space (#8502)
The mention picker inherited Tiptap's default `allowedPrefixes: [" "]`, so an `@` only opened it after a half-width space or at the start of the text. CJK is typed with no separator (or with a full-width U+3000 from the IME), which left the picker unreachable.

The boundary rule now lives in `packages/core/markdown/mention-boundary.ts` and is shared by the web/desktop editor and the mobile composer: an `@` glued to a Unicode word character stays inert (`[email protected]`, `josé@example.com`, `почта@mail.ru`), while scripts written without word spaces open it (`你好@Mi`, `こんにちは@Mi`, `안녕하세요@Mi`). `用户@example.com` opening is a documented, accepted ambiguity. The MUL-5429 typed-`@` provenance check is unchanged, so a pasted `@` still does not open the picker.
2026-09-18 11:50:43 +08:00
..