generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Block Library plugin to Sidekick.
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"project": "HSF Common Moves", | ||
"host": "www.commonmoves.com", | ||
"plugins": [ | ||
{ | ||
"id": "library", | ||
"title": "Library", | ||
"environments": ["edit"], | ||
"url": "/tools/sidekick/library.html", | ||
"includePaths": ["**.docx**"] | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"/> | ||
<meta name="Description" content="AEM Sidekick Library" /> | ||
<meta name="robots" content="noindex" /> | ||
<base href="/" /> | ||
|
||
<style> | ||
html, | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
font-family: sans-serif; | ||
background-color: #ededed; | ||
height: 100%; | ||
} | ||
|
||
helix-sidekick { display: none } | ||
</style> | ||
<title>Sidekick Library</title> | ||
</head> | ||
|
||
<body> | ||
<script type="module" src="https://www.hlx.live/tools/sidekick/library/index.js"></script> | ||
<script> | ||
const library = document.createElement('sidekick-library') | ||
library.config = { | ||
base: '/tools/sidekick/library.json', | ||
} | ||
document.body.prepend(library) | ||
</script> | ||
</body> | ||
</html> |