Skip to main content
在 Manus 中运行任何 Skill
一键导入

pretext

星标6
分支2
更新时间2026年3月29日 04:57

Pretext: zero-reflow text measurement & layout via canvas measureText + pure arithmetic. Build height prediction, chat bubble shrinkwrap, masonry grids, multi-column editorial flow, obstacle-aware text routing, rich inline content, canvas/SVG rendering. Use when: 'text height', 'virtual scroll', 'masonry layout', 'pretext', 'React pretext hook', 'React layout', 'chat bubble'. Also trigger on '文字排版', '文本高度', '前端排版', 'React 虚拟列表', 'React 高度预测'.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly