webim-adapter 0.3.0 → 0.5.0
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/README.md +5 -1
- package/build/webim-adapter.js +430 -149
- package/build/webim-embed.js +2 -2
- package/build/webim-ssr.js +578 -297
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,7 +113,11 @@ a token and copies the ready-to-share HTML URL.
|
|
|
113
113
|
|
|
114
114
|
- `PageRenderer` — render a raw `blocks` tree you already have.
|
|
115
115
|
- `renderRichContent(value)` — render a rich-text field value from a
|
|
116
|
-
collection entry.
|
|
116
|
+
collection entry. Image/video blocks carry `align`
|
|
117
|
+
(`left|center|right|full`) as pure alignment plus `wrap` for the float that
|
|
118
|
+
makes text flow around a left/right image (a block with no `wrap` key at
|
|
119
|
+
all is legacy content and still floats), and image links honour
|
|
120
|
+
`target: '_blank'` (rendered with `rel="noopener noreferrer"`).
|
|
117
121
|
- `resolveTheme(meta, themes)` — pick the theme tokens for a page.
|
|
118
122
|
|
|
119
123
|
## Notes
|