-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #997 from thoughtis/issue#940/coauthor-blocks
Blocks for Co-Authors
- Loading branch information
Showing
59 changed files
with
4,140 additions
and
176 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
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 @@ | ||
<?php return array('dependencies' => array('wp-data', 'wp-hooks'), 'version' => '82f1cda3f1d3fbb0136c'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,61 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 3, | ||
"name": "co-authors-plus/avatar", | ||
"version": "1.0.0", | ||
"title": "Co-Author Avatar", | ||
"category": "theme", | ||
"description": "Displays a small scale version of a co-author's avatar. Utilizes fallbacks from Gravatar so everyone has an avatar.", | ||
"keywords": [ | ||
"coauthors" | ||
], | ||
"supports": { | ||
"html": false, | ||
"__experimentalBorder": { | ||
"color": true, | ||
"radius": true, | ||
"width": true, | ||
"__experimentalSelector": "img, .block-editor-media-placeholder", | ||
"__experimentalSkipSerialization": true, | ||
"__experimentalDefaultControls": { | ||
"color": false, | ||
"radius": false, | ||
"width": false | ||
} | ||
}, | ||
"spacing": { | ||
"margin": true, | ||
"padding": true, | ||
"__experimentalDefaultControls": { | ||
"margin": false, | ||
"padding": false | ||
} | ||
} | ||
}, | ||
"usesContext": [ | ||
"co-authors-plus/author", | ||
"co-authors-plus/layout" | ||
], | ||
"attributes": { | ||
"size": { | ||
"type": "number", | ||
"default": 24 | ||
}, | ||
"isLink": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"rel": { | ||
"type": "string" | ||
}, | ||
"verticalAlign": { | ||
"type": "string" | ||
}, | ||
"align": { | ||
"type": "string" | ||
} | ||
}, | ||
"textdomain": "co-authors-plus", | ||
"editorScript": "file:./index.js", | ||
"style": "file:./style-index.css" | ||
} |
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 @@ | ||
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'b6b841ac8f86f7358245'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,54 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 3, | ||
"name": "co-authors-plus/description", | ||
"version": "1.0.0", | ||
"title": "Co-Author Biography", | ||
"category": "theme", | ||
"description": "Displays a co-author's biographical description.", | ||
"keywords": [ | ||
"coauthors", | ||
"description", | ||
"bio", | ||
"biography" | ||
], | ||
"supports": { | ||
"html": false, | ||
"color": { | ||
"link": true, | ||
"text": true, | ||
"background": true, | ||
"__experimentalDefaultControls": {} | ||
}, | ||
"typography": { | ||
"fontSize": true, | ||
"lineHeight": true, | ||
"__experimentalFontFamily": true, | ||
"__experimentalTextDecoration": true, | ||
"__experimentalFontStyle": true, | ||
"__experimentalFontWeight": true, | ||
"__experimentalLetterSpacing": true, | ||
"__experimentalTextTransform": true, | ||
"__experimentalDefaultControls": {} | ||
}, | ||
"spacing": { | ||
"margin": true, | ||
"padding": true, | ||
"__experimentalDefaultControls": { | ||
"margin": false, | ||
"padding": false | ||
} | ||
} | ||
}, | ||
"usesContext": [ | ||
"co-authors-plus/author" | ||
], | ||
"attributes": { | ||
"textAlign": { | ||
"type": "string" | ||
} | ||
}, | ||
"textdomain": "co-authors-plus", | ||
"editorScript": "file:./index.js", | ||
"editorStyle": "file:./index.css" | ||
} |
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 @@ | ||
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'd61297f0bd62592218f0'); |
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 @@ | ||
.wp-block-co-authors-plus-description a{pointer-events:none} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,73 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 3, | ||
"name": "co-authors-plus/image", | ||
"version": "1.0.0", | ||
"title": "Co-Author Featured Image", | ||
"category": "theme", | ||
"description": "Uses your theme's image sizes to display a scalable avatar for a co-author with a guest author profile. Does not fallback to Gravatar images.", | ||
"keywords": [ | ||
"coauthors" | ||
], | ||
"supports": { | ||
"__experimentalBorder": { | ||
"color": true, | ||
"radius": true, | ||
"width": true, | ||
"__experimentalSelector": "img, .block-editor-media-placeholder", | ||
"__experimentalSkipSerialization": true, | ||
"__experimentalDefaultControls": { | ||
"color": false, | ||
"radius": false, | ||
"width": false | ||
} | ||
}, | ||
"spacing": { | ||
"margin": true, | ||
"padding": true, | ||
"__experimentalDefaultControls": { | ||
"margin": false, | ||
"padding": false | ||
} | ||
} | ||
}, | ||
"usesContext": [ | ||
"co-authors-plus/author", | ||
"co-authors-plus/layout" | ||
], | ||
"attributes": { | ||
"isLink": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"rel": { | ||
"type": "string" | ||
}, | ||
"aspectRatio": { | ||
"type": "string" | ||
}, | ||
"width": { | ||
"type": "string" | ||
}, | ||
"height": { | ||
"type": "string" | ||
}, | ||
"scale": { | ||
"type": "string", | ||
"default": "cover" | ||
}, | ||
"sizeSlug": { | ||
"type": "string" | ||
}, | ||
"verticalAlign": { | ||
"type": "string" | ||
}, | ||
"align": { | ||
"type": "string" | ||
} | ||
}, | ||
"textdomain": "co-authors-plus", | ||
"editorScript": "file:./index.js", | ||
"editorStyle": "file:./index.css", | ||
"style": "file:./style-index.css" | ||
} |
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 @@ | ||
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '97710ad46fb953ce4975'); |
Oops, something went wrong.