[2025-05-15]Tips about WordPress & Retool / 关于WordPress和Retool的小技巧

WordPress

While developing, there used to be a white space on top of every page, which is quite annoying and hard to remove.
I found a way to solve it in elementor:
Edit any page in elementor, and press the Website Setting on top left, delete the container padding.
Bingo!
之前开发的网页,最上方总是有一条留白,无法删除。后来在elementor中找到了解决办法:
随便编辑一个网页,进入elementor编辑模式,左上有_站点设置_,点击后删除_容器内距_或者设置为0.
搞定!

Retool

Retool is a convenient tool to build UI directly related to the database. Javascript can be used, it feels a lot like React with a dragable interface.
But it can not add/delete/modify components dynamiclly.
ListView can be used, just like in React using map function to create things from a dataset(may be a list or a query from database).
But the updating efficiency may be a problem, still need to be tested.
Retool用来搭建和数据库直接相关的界面非常方便,也支持JS脚本,感觉上和React很像。
不过Retool不能动态管理组件,比如有一个动态的列表,想根据这个列表生成组件很有难度。
ListView可以有类似于React中的_map_的效果,但是更新效率可能会成为问题,还需要进一步验证。

发表评论

您的邮箱地址不会被公开。 必填项已用 * 标注

滚动至顶部