Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@grammarly/react-slate
Advanced tools
Bringing the Grammarly experience to apps that use Slate. No browser extension required.
Install the Grammarly plugin for Slate:
npm install @grammarly/react-slate
Set up an instance of the Slate editor with Grammarly:
// 1. Import Grammarly components
import { GrammarlyEditable, GrammarlySlate } from "@grammarly/react-slate";
import React, { useMemo, useState } from "react";
import { createEditor } from "slate";
import { withReact, Slate } from "slate-react";
export function SlateEditor() {
const [value, setValue] = useState([]);
const editor = useMemo(() => withReact(createEditor()), []);
// 2. Render using <GrammarlySlate> and <GrammarlyEditable>
return (
<Slate value={value} editor={editor} onChange={(value) => setValue(value)}>
<GrammarlySlate value={value} clientId="your-client-id-here">
<GrammarlyEditable />
</GrammarlySlate>
</Slate>
);
}
FAQs
Grammarly plugin for React + Slate
The npm package @grammarly/react-slate receives a total of 1 weekly downloads. As such, @grammarly/react-slate popularity was classified as not popular.
We found that @grammarly/react-slate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.