Skip to content

Instantly share code, notes, and snippets.

View tlovett1's full-sized avatar

Taylor Lovett tlovett1

View GitHub Profile
const { registerBlockType } = wp.blocks;
const { InnerBlocks, Inserter } = wp.blockEditor;
const { Button } = wp.components;
const { Fragment } = wp.element;
const { withSelect } = wp.data;
const allowed = ['test/test-inner-container'];
const template = [['test/test-inner-container']];
<html>
<head>
<style>
.game {
width: 600px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
position: relative;
}