Node Editor Plugin By GJZQ
Node Editor Plugin By GJZQ
Plugin Preview
About this plugin
Node Editor Plugin By GJZQ
# Figma 节点编辑器插件
这是一个用于 Figma 的插件,允许用户批量更新 Figma 文件中的节点属性,包括文本内容、可见性、位置和样式等。
## 功能特点
- 📄 **页面管理**:获取并显示当前 Figma 文件中的所有页面,支持页面选择和确认
- 🔄 **批量更新**:支持一次性更新多个节点的属性
- 📝 **文本更新**:批量修改文本节点的内容,自动处理字体加载
- 👁️ **可见性控制**:批量设置节点的显示/隐藏状态
- 📍 **位置调整**:批量修改节点的位置坐标
- 🎨 **样式更新**:批量修改节点的填充颜色和样式
- 🔍 **智能查找**:通过节点名称在指定页面中查找目标节点
- ✅ **操作确认**:提供页面确认机制,防止误操作
## 使用指南
### 基本流程
1. **选择页面**:
- 从下拉框中选择要操作的页面
- 点击"确认选择页面"按钮确认选择
- 如需更换页面,点击"重新选择页面"按钮
2. **准备更新数据**:
- 在文本区域输入 JSON 格式的更新数据
- 或点击"加载示例数据"按钮获取格式示例
3. **执行批量更新**:
- 点击"批量更新"按钮执行操作
- 查看更新结果和可能的错误信息
### JSON 数据格式
更新数据应该是节点对象的数组,每个对象包含以下字段:
```json
[
{
"name": "节点名称",
"test_case": "测试描述(可选)",
"updates": {
"characters": "新的文本内容",
"visible": true,
"x": 100,
"y": 200,
"fills": [
{
"type": "SOLID",
"color": {
"r": 1,
"g": 0,
"b": 0
}
}
]
}
}
]
```
Plugin Details
| Version | 2 |
|---|---|
| Created | December 16, 2025 |
| Last Updated | December 17, 2025 |
| Category | editing & effects plugins |
| Creator | shuangbao_hero |
| Stats | 1 installs, 1 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- https://api.figma.com
More Like This
Discover other plugins in the editing & effects plugins category.