Release 2.7.0: executable handbooks and native user-site workflows

This commit is contained in:
cflmy committed 2026-11-10 17:03:06 +08:00
1 parent aa0c4d0f55
commit d9aef957f7
562 files changed
+21064 -20387

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
---
markup: occlusion
title: Native collaborative editor leaf
import:
component: ext/web/component/index.mq.md
table: lib/table.mq.md
---
This intrinsic label/textarea pair contains no socket, page shell or generated HTML.
## nodes
| 返回 | 类型 | 说明 |
|---|---|---|
| result | list | Accessible native multiline editor rows |
The label names the same doc id used by the client input binding. Rows and columns are typed native attributes rather than interpolated markup. Initial content is empty and ordinary text; the bridge later changes its value. Geometry outside this intrinsic field pair belongs to the parent page component.
We **label_attrs = [Associate the visible label with the editor](table.put(in=None, at="for", value="doc"))** and **label = [Describe the plain editor label](component.element(kind="label", value="Shared text", attrs=`label_attrs`, slot="editor-label"))**.
`attrs` =
| id | rows | cols | aria-label |
|---|---|---|---|
| doc | 16 | 72 | Shared text |
We **editor = [Describe the native multiline control](component.element(kind="textarea", attrs=`attrs`, slot="editor"))**.
Return *[Keep the field label before its native control](table.concat(a=`label`, b=`editor`))*.