A Replacer
<p>You can replace the layer with a custom element, and the replaced layer will inherit the size attribute.</p><p><br></p><p>你可以用自定义的元素替图层,被替换的图层会继承尺寸属性。</p><p><br></p><p><strong>Different with the official 'Paste to replace' :</strong></p><p><br></p><ul><li>To replace A with B, 'Paste to replace' replaces the size of B together. Using A Replacer inherits size attributes from A to B.</li></ul><p><br></p><ul><li>'Paste to replace' Ctr/CMD + C If the properties of the replacement source are changed, Ctr/CMD + V will replace the original element. A Replacer Always uses the current status of the replacement source for replacement.</li></ul><p><br></p><p><strong>Usage:</strong></p><p><br></p><ul><li>Select an element and add it to the replace source list</li><li>Select the element to be replaced, and then click the element in the "replacement source" list.</li><li>You can add multiple required replacement elements in the replacement source list in advance</li><li>The "replacement source" of each document is private</li><li>You can replace other elements with instances of the component by adding the component to the "replacement source". If you need to add a team component, please add the instance of the component to the document and add the instance as the "replacement source"</li></ul><p><br></p><p><strong>与官方 "Paste to replace"的区别:</strong></p><p><br></p><ul><li>将A替换为B时,使用’ Paste to replace‘会将B的尺寸一起替换过去。使用 A Replacer 会将A的尺寸属性继承给B。</li></ul><p><br></p><ul><li>’ Paste to replace‘ Ctr/CMD + C 复制了替换源后如果替换源的属性进行过更改,Ctr/CMD + V 替换的还是原本的元素。A Replacer 替换时始终使用替换源当前状态进行替换。</li></ul><p><br></p><p><strong>使用方式:</strong></p><ul><li>选择一个元素,然后将其添加到“替换源”列表</li><li>选择需要被替换的元素,然后点击“替换源”列表中的元素。</li><li>可以在“替换源”列表中预先添加多个需要的替换元素</li><li>每个文档的“替换源”都是私有的</li><li>你可以通过将组件添加到“替换源”来将其他元素替换为该组件的实例,如果需要添加团队组件,请将组件的实例添加到文档后将该实例添加为“替换源”</li></ul>
Plugin Preview
About this plugin
You can replace the layer with a custom element, and the replaced layer will inherit the size attribute.
你可以用自定义的元素替图层,被替换的图层会继承尺寸属性。
Different with the official 'Paste to replace' :
- To replace A with B, 'Paste to replace' replaces the size of B together. Using A Replacer inherits size attributes from A to B.
- 'Paste to replace' Ctr/CMD + C If the properties of the replacement source are changed, Ctr/CMD + V will replace the original element. A Replacer Always uses the current status of the replacement source for replacement.
Usage:
- Select an element and add it to the replace source list
- Select the element to be replaced, and then click the element in the "replacement source" list.
- You can add multiple required replacement elements in the replacement source list in advance
- The "replacement source" of each document is private
- You can replace other elements with instances of the component by adding the component to the "replacement source". If you need to add a team component, please add the instance of the component to the document and add the instance as the "replacement source"
与官方 "Paste to replace"的区别:
- 将A替换为B时,使用’ Paste to replace‘会将B的尺寸一起替换过去。使用 A Replacer 会将A的尺寸属性继承给B。
- ’ Paste to replace‘ Ctr/CMD + C 复制了替换源后如果替换源的属性进行过更改,Ctr/CMD + V 替换的还是原本的元素。A Replacer 替换时始终使用替换源当前状态进行替换。
使用方式:
- 选择一个元素,然后将其添加到“替换源”列表
- 选择需要被替换的元素,然后点击“替换源”列表中的元素。
- 可以在“替换源”列表中预先添加多个需要的替换元素
- 每个文档的“替换源”都是私有的
- 你可以通过将组件添加到“替换源”来将其他元素替换为该组件的实例,如果需要添加团队组件,请将组件的实例添加到文档后将该实例添加为“替换源”
Plugin Details
| Version | 2 |
|---|---|
| Created | August 31, 2021 |
| Last Updated | October 24, 2021 |
| Category | Software development |
| Creator | Xing Zhuo |
| Stats | 400 installs, 23 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Editor Types:figma
More Like This
Discover other plugins in the Software development category.
Figma to Code (HTML, Tailwind, Flutter, SwiftUI)
Code Conversion Made Easy: Figma to Web & Apps
Builder.io - Figma to Code & AI Apps (React, Vue, Tailwind, etc)
Export designs to clean, responsive code or turn Figma screens into AI apps and prototypes.
SkewDat
Skew any layer or group with all layers preserved to edit.