@outseta/react 0.4.32 → 0.4.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outseta/react",
3
- "version": "0.4.32",
3
+ "version": "0.4.33",
4
4
  "description": "React hooks and components for the Outseta API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,7 +18,7 @@
18
18
  }
19
19
  },
20
20
  "dependencies": {
21
- "@outseta/api-client": "0.3.38"
21
+ "@outseta/api-client": "0.3.39"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^18.0.0 || ^19.0.0"
@@ -840,6 +840,15 @@ omitted it is derived automatically, so callers (including LLM tools) do not nee
840
840
  understand it. Use Message.PreviewText for inbox preview text rather than an in-body
841
841
  preheader.
842
842
 
843
+ The shape of the Body markup decides how editable the broadcast is in the app. Prose
844
+ (headings, paragraphs, lists, links, emphasis, images, inline spans) goes into a text
845
+ block, which the author edits on the editor canvas with the formatting toolbar and the
846
+ merge-tag menu. Structural markup (tables, an embedded style block, document
847
+ scaffolding) goes into an HTML block instead, because only that block renders such
848
+ markup verbatim, and it is edited as raw HTML. Send prose when the email must stay easy
849
+ to edit visually. The first save in the editor also replaces Body with the editor's
850
+ export of the design, so this choice decides the markup that is sent from then on.
851
+
843
852
  When Body is a content fragment with no Design, it is composed into the account's API
844
853
  email layout — a branded header and footer that includes the unsubscribe and
845
854
  manage-subscriptions links — and the composed result is what is sent and opened in the