🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@mentor-medier/default-output-block

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mentor-medier/default-output-block

Fusion News Theme default output type

latest
stable
Source
npmnpm
Version
5.13.3
Version published
Maintainers
1
Created
Source

@wpmedia/default-output-block

Fusion News Theme default output type. Please provide a 1-2 sentence description of what the block is and what it does.

Acceptance Criteria

  • Add AC relevant to the block

Props

PropRequiredTypeDescription
required propyes
optional propno
contentConfig examplePlease specify which content sources are compatible

ANS Schema

Outline any schema information requirements necessary to know for ths block

ANS Fields

  • 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;

Internationalization fields

  • Add all internationalization fields used in the block

Events

Blocks can emit events. The following is a list of events that are emitted by this block.

Event NameDescription
eventNameDescribe the event

Event Listening

Include block specific instructions for event listening.

OR

This block does not emit any events.

Additional Considerations

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');'
    ]
}

FAQs

Package last updated on 05 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts