@quillmark/wasm 0.123.0 → 0.123.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.123.1 - 2026-10-06
4
+
5
+ Upgrade path: [0.123.0 → 0.123.1](docs/migrations/0.123.0-to-0.123.1.md).
6
+
7
+ ### Table cells
8
+
9
+ - feat(content)!: **a table cell carries a line break**, one `\n` in its
10
+ `text`, spelled `<br>` inside the pipe cell (`| line one<br>line two |`, any
11
+ case, with attributes or a closing `/`) and typeset as `#linebreak()`. A
12
+ mark spans the break as it spans a prose hard break, and its edge moves off
13
+ it. `to_markdown` writes a cell's `\n` as `<br>`, and a `\n` in a cell
14
+ written through the JSON lanes is a break, where normalization made it a
15
+ space. `TableCell.text` is unchanged in shape. (#2071)
16
+ - feat(content)!: **an inline `<br>` is a hard break in a paragraph and a
17
+ space in a heading**, where it rendered nothing, so a `richtext(inline)`
18
+ value holding one now has two lines and fails as `validation::not_inline`
19
+ (`edit::field_not_inline` on a strict write; a quill `default:` fails to
20
+ load), and nothing else reports the change. A `<br>` with no text before it
21
+ on its line, or alone on a line, still renders nothing; `\<br>` and a `<br>`
22
+ in backticks stay literal. A `<br>` in an image's alt is a space, where it
23
+ was dropped. (#2071)
24
+
25
+
3
26
  ## v0.123.0 - 2026-10-06
4
27
 
5
28
  Upgrade path: [0.122 → 0.123](docs/migrations/0.122-to-0.123.md).
package/core/wasm.d.ts CHANGED
@@ -127,7 +127,7 @@ export type ContentMarkKind =
127
127
 
128
128
  /** A cell in a `TableProps`. `marks` rides the prose `ContentMark` shape, but
129
129
  * each mark's `start`/`end` are USV offsets into this cell's `text`, not into
130
- * `Content.text`. */
130
+ * `Content.text`. A `\n` in `text` is a line break. */
131
131
  export interface TableCell {
132
132
  text: string;
133
133
  marks: ContentMark[];
package/core/wasm_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillmark/wasm",
3
- "version": "0.123.0",
3
+ "version": "0.123.1",
4
4
  "description": "WebAssembly bindings for Quillmark, a schema-driven document engine",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
package/render/wasm.d.ts CHANGED
@@ -127,7 +127,7 @@ export type ContentMarkKind =
127
127
 
128
128
  /** A cell in a `TableProps`. `marks` rides the prose `ContentMark` shape, but
129
129
  * each mark's `start`/`end` are USV offsets into this cell's `text`, not into
130
- * `Content.text`. */
130
+ * `Content.text`. A `\n` in `text` is a line break. */
131
131
  export interface TableCell {
132
132
  text: string;
133
133
  marks: ContentMark[];
Binary file