Files
AFFiNE/blocksuite
DarkSky 47cb3c92c0 fix(editor): align clipboard entities and slash canvas placement
Decode every WHATWG HTML named character reference in pasted HTML. The
table is one sorted string of `\0<name>;<value>` records, and a lookup
bisects it by byte position. `&lang;` and `&rang;` now give U+27E8 and
U+27E9. Two-code-point references such as `&NotEqualTilde;` decode.
The 106 legacy names also decode without `;` when the next byte is not
`=` or an ASCII letter or digit, so `?a=1&copy=2` stays as typed.
Numeric references in U+0080..=U+009F use the Windows-1252 values.
Zero, surrogate and out-of-range references give U+FFFD.

The `/callout` command keeps its block, as `calloutSlashMenuConfig` does.
Thus an empty paragraph, bulleted item or checked to-do stays before the
new callout. One undo removes the callout and restores the typed command.

The `Frame` and `Mind Map` commands place their new target with the
`findSpace` search of `0.27.5`. A frame starts at `[0,0,1600,900]` with
20 px padding. A mind map starts at `[0,0,200,200]` with 150 px padding.
The target moves right only past the canvas content that it intersects.
A new frame is named `Frame <n>`, where n is the frame count plus one.
The mind map nodes use the `0.27.5` sizes, positions and labels.
2026-12-04 14:52:40 +09:00
..
2026-10-10 23:28:25 +08:00