A library that helps developers work with the RTE sections in Shopify Themes

Usage no npm install needed!

<script type="module">
  import shopifyThemeRte from 'https://cdn.skypack.dev/@shopify/theme-rte';



Getting Started

Theme Scripts can be used in any theme project. To take advantage of semantic versioning and easy updates, we recommend using NPM or Yarn to include them in your project:

yarn add @shopify/theme-rte

and then import the functions you wish to use through ES6 imports:

import * as rte from '@shopify/theme-rte';