
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@contentful/contentful-slatejs-adapter
Advanced tools
The library provides an adapter to convert Slate's Document to Contentful Document and vice-versa.
{
"category": "document",
"content": [
{
"category": "block",
"type": "header-one",
"content": [
{
"category": "text",
"type": "text",
"value": "This is a headline!",
"marks": [
{
"object": "mark",
"type": "bold",
"data": {}
}
]
}
]
},
{
"category": "block",
"type": "paragraph",
"content": [
{
"category": "text",
"type": "text",
"value": "",
"marks": [
{
"object": "mark",
"type": "bold",
"data": {}
}
]
}
]
},
{
"category": "block",
"type": "paragraph",
"content": [
{
"category": "text",
"type": "text",
"value": "and this is a bold text",
"marks": [
{
"object": "mark",
"type": "bold",
"data": {}
}
]
},
{
"category": "text",
"type": "text",
"value": " but now i am not bold anymore. ",
"marks": []
},
{
"category": "text",
"type": "text",
"value": "However, ",
"marks": [
{
"object": "mark",
"type": "italic",
"data": {}
}
]
},
{
"category": "text",
"type": "text",
"value": " i am now ",
"marks": []
},
{
"category": "text",
"type": "text",
"value": "underlined with shit. ",
"marks": [
{
"object": "mark",
"type": "underlined",
"data": {}
}
]
}
]
}
]
}
Automatic releases are possible thanks to semantic release, which publishes the code automatically on npm and generates a changelog.
We follow angular commit format to generate a changelog.
You'll need to use npm run commit
, to create conventional commits.
FAQs
This library provides an adapter to convert Slate's document structure to Contentful's rich text document structure and vice-versa.
The npm package @contentful/contentful-slatejs-adapter receives a total of 9,015 weekly downloads. As such, @contentful/contentful-slatejs-adapter popularity was classified as popular.
We found that @contentful/contentful-slatejs-adapter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.