@particle-academy/fancy-cms-ui 0.0.1-dev.15 → 0.0.1-dev.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/editor.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { keyBetween } from './chunk-7YYLYBLI.js';
2
- import { CmsPage, defaultRegistry } from './chunk-IXPYY4S2.js';
2
+ import { CmsPage, defaultRegistry } from './chunk-KCJWSR7D.js';
3
3
  import { reduce, childrenOf, isBinding } from './chunk-3YZMELJJ.js';
4
4
  import { useReducer, useCallback, useMemo, useRef, useState, useLayoutEffect, Fragment, useEffect } from 'react';
5
5
  import { jsxs, jsx, Fragment as Fragment$1 } from 'react/jsx-runtime';
@@ -1189,6 +1189,7 @@ var ADD_DEFAULTS = {
1189
1189
  callout: { type: "callout", props: { content: "Heads up \u2014 this is a callout.", variant: "info" }, style: {} },
1190
1190
  divider: { type: "divider", props: {}, style: {} },
1191
1191
  code: { type: "code", props: { content: "npm install @particle-academy/react-fancy", lang: "bash" }, style: {} },
1192
+ richtext: { type: "richtext", props: { html: "<p>Rich <strong>text</strong> with <em>inline</em> formatting.</p>" }, style: {} },
1192
1193
  repeater: { type: "repeater", props: { items: "" }, style: { gap: { value: 12, unit: "px" } }, layout: "stack" }
1193
1194
  };
1194
1195
  var GRIPS = [
@@ -1401,6 +1402,7 @@ var ADD_MENU = [
1401
1402
  { kind: "box", label: "Box" },
1402
1403
  { kind: "divider", label: "Divider" },
1403
1404
  { kind: "code", label: "Code" },
1405
+ { kind: "richtext", label: "Rich text" },
1404
1406
  { kind: "repeater", label: "Repeater" }
1405
1407
  ];
1406
1408
  function EditBar({