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
Fix content link documentation to correctly describe options
Update the documentation to accurately state:
- contentLink: 'v1' enables stega encoding
- baseEditingUrl tells DatoCMS where the project is located (not the preview)
- Both options are required
Also fix inconsistency in troubleshooting section (was using 'vercel-v1' instead of 'v1')
Copy file name to clipboardExpand all lines: docs/content-link.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ const result = await executeQuery(query, {
107
107
});
108
108
```
109
109
110
-
The `contentLink` option encodes invisible metadata into text fields, while`baseEditingUrl` tells DatoCMS where your preview is hosted.
110
+
The `contentLink: 'v1'` option enables stega encoding, which embeds invisible metadata into text fields. The`baseEditingUrl` tells DatoCMS where your project is located so edit URLs can be generated correctly. Both options are required.
111
111
112
112
### 2. Add the ContentLink component
113
113
@@ -583,7 +583,7 @@ These utilities are useful when you need to:
0 commit comments