Giter Site home page Giter Site logo

figma-embed-block's Introduction

๐Ÿ‘‰ Embed your Figma creations in WordPress

  • Frames
  • Pages
  • Prototypes
  • Just paste the link URL into the block
  • Embeds update in real time as you edit your work

๐Ÿ‘‰ Getting Started

  • Clone this repo into your WordPress plugin Repository
  • Activate the gutenberg-figma-embed plugin

๐Ÿ‘‰ npm start

  • Complete the steps in "Getting Started"
  • Ensure you're in the plugin's directory
  • Use to compile and run the block in development mode.
  • Watches for any changes and reports back any errors in your code.

๐Ÿ‘‰ npm run build

  • ensure you're in the plugin's directory
  • Use to build production code for your block inside dist folder.
  • Runs once and reports back the gzip file sizes of the produced code.

This project was bootstrapped with Create Guten Block.

figma-embed-block's People

Contributors

dependabot[bot] avatar jameslnewell avatar levinmedia avatar

Stargazers

 avatar  avatar

Watchers

 avatar

figma-embed-block's Issues

Selected aspect ratio not respected on front end of site

Certain themes (Tested on twenty twenty, and twenty nineteen) don't respect the aspect ratio controls in the block setting. For example, both blocks on this page are set to "Landscape" - and they stretch to a seemingly random height.

screencapture-nervous-hippopotamus-jurassic-ninja-2019-12-04-figma-embed-2019-12-04-12_30_00

For contrast, the same blocks respect the aspect ratio when using the storefront theme

screencapture-nervous-hippopotamus-jurassic-ninja-2019-12-04-figma-embed-2019-12-04-12_32_52

Prototype embedding broken

No longer able to embed a prototype after the validation update.
#6

prototypes have a different link structure, so the regex is flagging them as invalid

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.