This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html style="margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.2;"> | |
<head> | |
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<meta name="format-detection" content="telephone=no"> | |
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE"> | |
<meta name="x-apple-disable-message-reformatting"> | |
<title>BU Today 07-01-19</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Inspector Controls Partial for Button Block | |
* | |
* Moves the InspectorControls component out of the edit | |
* function of the Button block to a separate partial to | |
* keep the block's edit function cleaner. | |
*/ | |
import { __ } from '@wordpress/i18n'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useBlockProps } from "@wordpress/block-editor"; | |
function Edit( props ) { | |
const { isSelected } = props; | |
const blockProps = useBlockProps( { | |
style: { | |
color: '#222222', | |
backgroundColor: '#eeeeee', | |
padding: '15px' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* WordPress dependencies | |
*/ | |
import { store as coreStore } from '@wordpress/core-data'; | |
import { useSelect } from '@wordpress/data'; | |
import { useState, useEffect } from '@wordpress/element'; | |
import apiFetch from '@wordpress/api-fetch'; | |
import { addQueryArgs } from '@wordpress/url'; | |
// Internal dependencies |