
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
@react-fluent-edit/core
Advanced tools
This package includes the core editor component and tools to create plugins.
Install the package in your project directory with:
// with npm
npm install @react-fluent-edit/core
// with yarn
yarn add @react-fluent-edit/core
import {
FluentEdit,
FluentEditProps,
FluentEditProvider,
} from "@react-fluent-edit/core";
return (
<FluentEdit
singleLine={false}
markdown={true}
autoFocus={true}
placeholder=""
initialValue=""
onChange={value => console.log(value)}
plugins={[...]}
/>
);
import { Plugin } from "@react-fluent-edit"
const plugin: Plugin = {
name: "mentions",
leaves: [
{
match: ({ leaf }) => ["bold", "italic", "underline"]
.some(prop => leaf[prop]),
component: Leaf,
}
],
elements: [
{
match: ({ element: { type } }) => ["list", "heading"]
.some(item => type === item),
component: Element,
}
],
overrides: [{ handler: (editor) => withRichText(editor) }],
beforeSerialize: {
handler: (nodes) => replaceTextNodesWithRichTextNodes(nodes),
},
afterDeserialize: {
handler: (nodes) => replaceRichTextNodesWithTextNodes(nodes),
},
handlers: {
onClick: (event, editor) => { ... }
}
options,
}
import { useFluentEdit } from "@react-fluent-edit"
const { editor, focusEditor } = useFluentEdit()
FAQs
Slate based editor powered by plugins
The npm package @react-fluent-edit/core receives a total of 84 weekly downloads. As such, @react-fluent-edit/core popularity was classified as not popular.
We found that @react-fluent-edit/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.