You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/notion/actions/append-block/append-block.mjs
+8-30Lines changed: 8 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -26,44 +26,32 @@ export default {
26
26
reloadProps: true,
27
27
options: [
28
28
{
29
-
label:
30
-
"Use objects of existing blocks (e.g. objects returned from previous steps)",
31
-
value: "blockObjects",
32
-
},
33
-
{
34
-
label: "Select existing blocks or provide their IDs",
29
+
label: "Append existing blocks",
35
30
value: "blockIds",
36
31
},
37
32
{
38
33
label: "Provide Markdown content to create new blocks with",
39
-
value: "markupContents",
34
+
value: "markdownContents",
40
35
},
41
36
{
42
37
label: "Provide Image URLs to create new image blocks",
43
38
value: "imageUrls",
44
39
},
45
40
],
46
41
},
47
-
blockObjects: {
48
-
type: "string[]",
49
-
label: "Block Objects",
50
-
description:
51
-
"An array of block objects to be appended. You can use a custom expression to reference block objects from previous steps. [See the documentation](https://developers.notion.com/reference/block) for more information",
52
-
hidden: true,
53
-
},
54
42
blockIds: {
55
43
propDefinition: [
56
44
notion,
57
45
"pageId",
58
46
],
59
47
type: "string[]",
60
-
label: "Block IDs",
48
+
label: "Existing Block IDs",
61
49
description: "Select one or more block(s) or page(s) to append (selecting a page appends its children). You can also provide block or page IDs.",
62
50
hidden: true,
63
51
},
64
-
markupContents: {
52
+
markdownContents: {
65
53
type: "string[]",
66
-
label: "Markup Contents",
54
+
label: "Markdown Contents",
67
55
description:
68
56
"Each entry is the content of a new block to append, using Markdown syntax. [See the documentation](https://www.notion.com/help/writing-and-editing-basics#markdown-and-shortcuts) for more information",
0 commit comments