default-output-block
/
5.17.1-beta.3516
default-output-block 5.17.1-beta.3516
Install from the command line:
Learn more about npm packages
$ npm install @wpmedia/default-output-block@5.17.1-beta.3516
Install via package.json:
"@wpmedia/default-output-block": "5.17.1-beta.3516"
About this version
Fusion News Theme default output type. Please provide a 1-2 sentence description of what the block is and what it does.
- Add AC relevant to the block
Prop | Required | Type | Description |
---|---|---|---|
required prop | yes | ||
optional prop | no | ||
contentConfig example | Please specify which content sources are compatible |
Outline any schema information requirements necessary to know for ths block
-
globalContent
(see below) used by Metadata component in Engine Theme SDK
description?: {
basic?: string;
};
headlines?: {
basic?: string;
};
taxonomy?: {
seo_keywords?: Array<string>;
tags?: Array<{
slug?: string;
}>;
};
authors?: Array<{
bio?: string;
byline?: string;
}>;
Payload?: Array<{
description?: string;
name?: string;
}>;
metadata?: {
metadata_description?: string;
metadata_title?: string;
};
name?: string;
- Add all internationalization fields used in the block
Blocks can emit events. The following is a list of events that are emitted by this block.
Event Name | Description |
---|---|
eventName | Describe the event |
Include block specific instructions for event listening.
OR
This block does not emit any events.
In the site properties, you can pass in dangerouslySetJS in blocks.json
. The double-quote enclosed console.log
is an example of how to format the injection. You need to have single-quotes enclosed here. It's ok to use minified code. Currently template literals are not supported in json. We're also not parsing this on the front-end so no need to escape characters.
siteProperties: {
"dangerouslyInjectJS": [
"console.log('yo');'
]
}
Details
- default-output-block
- WPMedia
- over 2 years ago
- CC-BY-NC-ND-4.0
- 2 dependencies
Assets
- default-output-block-5.17.1-beta.3516-npm.tgz
Download activity
- Total downloads 29
- Last 30 days 0
- Last week 0
- Today 0
Recent versions
View all- 5.17.1-arc-themes-release-version-1.33.3562
- 5.17.1-arc-themes-release-version-2.4.0.4885
- 5.17.1-arc-themes-release-version-1.33.3561
- 5.17.1-arc-themes-release-version-2.2.1.4844
- 5.17.1-arc-themes-release-version-2.1.3.4779
- 5.17.1-arc-themes-release-version-2.1.3.4773
- 5.17.1-arc-themes-release-version-2.1.2.4757
- 5.17.1-arc-themes-release-version-2.1.3.4756
- 5.17.1-arc-themes-release-version-2.1.2.4756
- 5.17.1-arc-themes-release-version-2.0.3.4729