-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SLB-188: Decap integration #117
Conversation
596426f
to
05449f3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's have a call later? I have issues
- making it work locally
- making publisher work in gitpod
apps/decap/src/helpers/preview.tsx
Outdated
}, | ||
{ | ||
id: '', | ||
rid: '', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it come from Decap? I thought rid
, nid
, etc are Drupalisms.
@@ -1,4 +1,3 @@ | |||
import { Markup } from '@custom/schema'; | |||
import rehypeSanitize from 'rehype-sanitize'; | |||
import rehypeStringify from 'rehype-stringify'; | |||
import remarkParse from 'remark-parse'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had many issues updating these in silverback-mono. Just complaining 😅
So we don't have to pass Drupal-specific variables.
If I kill Gatsby's
|
To get AmazeeLabs/silverback-mono@f9ef855 which caused the cloudinary resolver not to load by default.
6d31915
to
2fcdfa8
Compare
So they also display the cloudinary-mock.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works now.
Would be nice to fix validation
warn [
{
"code": "invalid_type",
"expected": "array",
"received": "undefined",
"path": [
"content"
],
"message": "Required"
}
]```
Description of changes
Integrate the Decap installation from #93 into Gatsby.
Motivation and context
Provide a canonical way to use Decap in Silverback.
How to test
http://localhost:8000/admin
/apps/decap/data
Review notes
I marked several occasions for improvements. Jira tickets for these have already been created.
How has this been tested?