
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.