Unstack for Developers
  • Overview
  • Getting started
    • Custom Themes
    • Custom Components
  • Component Types
    • Section
    • Header & Footer
    • Banner
  • Basic Tags
    • Actions
    • Box
    • Code
    • Element
    • Media
    • Plaintext
    • Richtext
    • Collection
    • Article Collection
  • eCommerce Tags
    • Product
    • Product Inventory
    • Product Price
    • Product Options
    • Quantity Selector
    • Cart & Drawer (soon)
  • Utility Tags
    • Generator
    • JSONParser
  • Other NoML Features
    • Variables
    • Raw HTML
    • Component Properties
Powered by GitBook
On this page
  1. Basic Tags

Code

Allows page editors to insert custom code into the page. This allows page editors to insert Embed code, custom styles, custom javascript, or other HTML.

<Code dataRef={content.code} />

Attributes

  • dataRef: DataLocator - the data-element storing the Code tag's configuration

  • type: string (optional) - ???

PreviousBoxNextElement

Last updated 1 year ago