@clevertask/scribe 0.1.23 → 0.1.24
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 -0
- package/dist/document-node-capabilities.js +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -89,9 +89,14 @@ const capabilities = createScribeDocumentNodeCapabilityManifest(getSchema(extens
|
|
|
89
89
|
|
|
90
90
|
capabilities.paragraph.potentialOperations; // [{ type: "replace_content" }]
|
|
91
91
|
capabilities.callout.potentialOperations; // [{ type: "set_attributes", attributes: ["variant"] }]
|
|
92
|
+
capabilities.taskItem.potentialOperations; // [{ type: "set_attributes", attributes: ["checked"] }]
|
|
92
93
|
capabilities.tableCell.potentialOperations; // []
|
|
93
94
|
```
|
|
94
95
|
|
|
96
|
+
The manifest intentionally keeps structural list changes application-owned. A consumer can use
|
|
97
|
+
the task-item attribute capability while defining its own bounded policy for adding or moving
|
|
98
|
+
task-list items.
|
|
99
|
+
|
|
95
100
|
These are structural possibilities, not application permissions. An application must still check
|
|
96
101
|
authorization, the current node and its ancestors, protected descendants, revision visibility,
|
|
97
102
|
parser support, and size limits before it offers or performs a write.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clevertask/scribe",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Radix-based Tiptap rich text editor with a Notion-style block interface for viewing and creating content. Perfect for diverse needs like notes, documents, AI chat, Markdown parsing, and comments.",
|
|
6
6
|
"keywords": [
|