Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Preview block

未关闭
#50 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
php, wordpress
领域
backend, content

调研方向

该 issue 没有指出文件、测试或入口点。先在 repository 中搜索“preview block”和 Gutenberg transform 处理,然后将提供的 Gutenberg 示例与项目现有的行为进行比较。在将 preview block 视为完成之前,确认预期的转换后输出。

由索引模型根据 Issue 内容生成。

描述

We dont haev a transform for the preview block.
Here is how https://piszek.com/2026/05/17/be-useful-arnold/ behaves:


## Total Recall

I happened to read Arnold's autobiography - [[Total Recall](https://www.amazon.com/Total-Recall-Unbelievably-True-Story/dp/1451662440)](https://www.amazon.com/Total-Recall-Unbelievably-True-Story/dp/1451662440) - long ago. I recommend it without hesitation, mostly for the hilarious anecdotes. "Be Useful" extracts the lessons; "Total Recall" gives you the stories that made the lessons stick.

A few things that stuck with me:

- Arnold was, first and foremost, a businessman and a salesman. He made a fortune in real estate well before his film career took off.
- On "Twins" with Danny DeVito, he negotiated a percentage of the gross instead of a flat fee. That one deal made him more money than his more famous movies.
- He married into the Kennedys, had an affair, lied about it, and that lie is what ultimately blew up the marriage. He's candid about that too.


\`\`\`gutenberg
<!-- wp:details -->
<details class="wp-block-details"><summary>I think my favorite story is about his "European Bricklayers" business - from the Tim Ferriss show (click to expand)</summary><!-- wp:quote -->
<blockquote class="wp-block-quote"><!-- wp:paragraph -->
<p>Since Franco’s talent was to be a bricklayer, and a very skilled bricklayer, and he learned that in Italy and Germany, we were able to go and start thinking about putting together the idea of putting an ad in the&nbsp;<em>LA Times</em>, creating a company and calling it European bricklayers and masonry experts, marble experts, building chimneys and fireplaces the European style. This was also a time where everything that was European was huge in America, so we benefited from that. Swedish massages and everything had to be kind of a foreign name. Japanese this and this. Europe and Japan and all these places; the names were used because for some reason or another people thought that it was better. So we used that in the ad and we put the ad in the paper and literally a week later we had the big earthquake in Los Angeles. The chimneys fell off the apartment houses and all that stuff and there were cracked walls and all this. One of the friend’s of ours wife who was very smart and she worked in a supermarket, she did answering the phones and calling people back and all this just to make sure our English doesn’t get all screwed up with talking over the phone. She gave us the addresses and then we got to do the estimates and I was kind of like set up to be the math genius that figures out the square footage. Franco would play the bad guy and I played the good guy. We would go to someone’s house and then someone would say, “Well, look at my patio. It’s all cracked. Can you guys put a new patio in here?” I would say yes and then we would run out and get the tape measure, but it would be a tape measure with centimeters. No one in those days could at all figure out anything with centimeters. We would be measuring up and I would say 4 meters and 82 centimeters. They had no idea what we were talking about. This is so much and we were writing up dollars and amounts and square centimeters and square meters. Then I would go to the guy and say, “It’s $5,000,” and the guy would be in a state of shock. He’d say, “It’s $5,000? This is outrageous.” I’d say, “What did you expect? and he’d say, “I expected like $2,000 or $3,000.” I’d say, “Let me talk to my guy because he’s really the masonry expert, but I can beat him down for you a little bit. Let me soften the meat.” Then I would go to Franco and we would start arguing in German. [25:40 Content in German.] This would be going on and on and he was screaming back at me in Italian. Then all of a sudden he would calm down and I would go to the guy and say, “Okay, here it is. I could get him as low as $3,800. Can you go with that?” He says, “Thank you very much. I really think that you’re a great man and blah, blah, blah and all this stuff.” I’d say, “Give us half down right now and we’ll go right away and get the cement and the bricks and everything we need for here and we’ll start working on Monday.”</p>
<!-- /wp:paragraph --></blockquote>
<!-- /wp:quote -->

<!-- wp:paragraph {"placeholder":"Type / to add a hidden block"} -->
<p></p>
<!-- /wp:paragraph --></details>
<!-- /wp:details -->
\`\`\`
### Arnold's rules (from Total Recall)

主要语言
PHP
星标
22
派生
5
PR 合并指标
30 天内没有已合并 PR

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Automattic/php-toolkit 的其他 Issue

查看 Automattic/php-toolkit 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。