
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@agilie/ra-tinymce-input
Advanced tools
Rich Text Input component for React Admin, useful for editing HTML content in admin GUI
Rich Text Input component for React Admin based on the TinyMCE editor, useful for editing HTML content in admin GUI
You can get the latest version of RA TinyMCE Input from npm
npm install -S @agilie/ra-tinymce-input
import * as React from "react";
import { Create, SimpleForm, TextInput, DateInput } from 'react-admin';
import { RichTextInput } from '@agilie/ra-tinymce-input';
export const PostCreate = (props) => (
<Create {...props}>
<SimpleForm>
<TextInput source="title"/>
<RichTextInput source="body"
initialValue="<p>This is the initial content of the editor.</p>"
init={{
height: 500,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
],
toolbar: 'undo redo | formatselect | ' +
'bold italic backcolor | alignleft aligncenter ' +
'alignright alignjustify | bullist numlist outdent indent | ' +
'removeformat | help',
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px }'
}} />
<DateInput label="Publication date" source="published_at" defaultValue={new Date()}/>
</SimpleForm>
</Create>
);
You can customize the rich text editor by adding additional attributes, as described on the TinyMCE official documentation.
Problems? Check the Issues block to find the solution or create a new issue, and we will do our best to fix it asap. Feel free to contribute. This project is intended to be a safe, welcoming space for collaboration.
The library is available as open source under the MIT License (MIT) Copyright © 2021 Agilie Team
This library is open-sourced by Agilie Team (web@agilie.com)
FAQs
Rich Text Input component for React Admin, useful for editing HTML content in admin GUI
We found that @agilie/ra-tinymce-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.