Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
126 changes: 125 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"private": true,
"dependencies": {
"@codemirror/autocomplete": "6.19.0",
"@uiw/react-codemirror": "4.23.0",
"@codemirror/commands": "6.8.1",
"@codemirror/lang-css": "6.3.1",
"@codemirror/lang-html": "6.4.10",
Expand Down Expand Up @@ -166,6 +167,7 @@
"docusaurus-plugin-typedoc-api": "^4.4.0",
"dts-bundle-generator": "^7.2.0",
"esbuild": "0.19.9",
"esbuild-wasm": "0.20.1",
"eslint": "9.24.0",
"eslint-plugin-comment-length": "2.2.1",
"eslint-plugin-cypress": "4.3.0",
Expand All @@ -189,6 +191,7 @@
"react-markdown": "^8.0.7",
"rimraf": "^4.4.0",
"rollup": "^4.34.6",
"sass": "1.71.1",
"tar-fs": "3.1.1",
"ts-jest": "29.1.0",
"ts-json-schema-generator": "1.2.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/playground/website-extras/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"version": "0.0.1",
"type": "commonjs",
"private": true,
"name": "@wp-playground/website-extras"
"name": "@wp-playground/website-extras",
"devDependencies": {
"@wordpress/a11y": "4.36.0"
}
}
36 changes: 36 additions & 0 deletions packages/playground/website-extras/playground-block-frame.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>WordPress Playground Demo</title>
<base href="/" />
<meta
property="og:image"
content="https://playground.wordpress.net/ogimage.png"
/>
<meta property="og:title" content="WordPress Playground Demo" />
<meta
property="og:description"
content="An interactive code editor with live WordPress preview, running entirely in your browser."
/>
<meta property="og:url" content="https://playground.wordpress.net/" />
<meta
name="description"
content="An interactive code editor with live WordPress preview, running entirely in your browser."
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div id="root" class="wordpress-playground-block"></div>
<script type="module">
import('./src/playground-block-demo/main.tsx');
</script>
</body>
</html>
Loading