All Projects → maluramichael → ra-input-markdown

maluramichael / ra-input-markdown

Licence: MIT license
A markdown editor for react-admin

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ra-input-markdown

iwish
I wish that too!
Stars: ✭ 19 (-13.64%)
Mutual labels:  yarn
clrprint
Print colorful output in the terminal, idle, cmd, and Windows PowerShell using the same functions.
Stars: ✭ 22 (+0%)
Mutual labels:  input
yrs
Yarn registry switch tool
Stars: ✭ 12 (-45.45%)
Mutual labels:  yarn
modular
Scaffold a react monorepo and its component parts.
Stars: ✭ 13 (-40.91%)
Mutual labels:  yarn
yarn-workspaces-example
Sample monorepo project using new Yarn feature called Workspaces
Stars: ✭ 39 (+77.27%)
Mutual labels:  yarn
yarn-outdated-formatter
yarn outdated --json formatter
Stars: ✭ 31 (+40.91%)
Mutual labels:  yarn
react-ant-admin
此框架使用与二次开发,前端框架使用react,UI框架使用ant-design,全局数据状态管理使用redux,ajax使用库为axios。用于快速搭建中后台页面。
Stars: ✭ 52 (+136.36%)
Mutual labels:  react-admin
muxnect
Send input to just about any interactive command-line tool through a local web server
Stars: ✭ 23 (+4.55%)
Mutual labels:  input
cruise
A Continuous Integration (CI) management system homework from Thought Works
Stars: ✭ 13 (-40.91%)
Mutual labels:  yarn
asdf-yarn
asdf plugin for Yarn.
Stars: ✭ 111 (+404.55%)
Mutual labels:  yarn
winmoji
Emoji lookup for Windows 😉 https://www.winmoji.com https://twitter.com/winmoji
Stars: ✭ 79 (+259.09%)
Mutual labels:  yarn
veact-admin
🔏 Admin client for surmon.me blog powered by React & @veactjs
Stars: ✭ 39 (+77.27%)
Mutual labels:  react-admin
js-stack-from-scratch
🌺 Russian translation of "JavaScript Stack from Scratch" from the React-Theming developers https://github.com/sm-react/react-theming
Stars: ✭ 394 (+1690.91%)
Mutual labels:  yarn
nextjs-monorepo-example
Collection of monorepo tips & tricks
Stars: ✭ 874 (+3872.73%)
Mutual labels:  yarn
react-webpack2-skeleton
Get started with React with Webpack2, React-Router, Redux, Code Splitting and Server Rendering
Stars: ✭ 59 (+168.18%)
Mutual labels:  yarn
console engine
A simple terminal framework to draw things and manage user input
Stars: ✭ 144 (+554.55%)
Mutual labels:  input
awesome-app-js
This document list all the javascript libs used at Soixante circuits. They are compatible with Webpack and run in the browser and / or node only.
Stars: ✭ 16 (-27.27%)
Mutual labels:  yarn
parcel-typescript-react
📦 Typescriot react perttier example using parcel bundler
Stars: ✭ 15 (-31.82%)
Mutual labels:  yarn
react-native-surrender
CLI script that clears Watchman, removes node_modules and cleans cache using npm or yarn
Stars: ✭ 53 (+140.91%)
Mutual labels:  yarn
docker-rails-demo
Demo app for Rails, Docker and Webpack
Stars: ✭ 29 (+31.82%)
Mutual labels:  yarn

<MarkdownInput> for react-admin

npm npm

For editing Markdown with react-admin, use the <MarkdownInput> component. It uses react-med, a popular React Markdown Editor.

<MarkdownInput> example

Installation

npm install --save ra-input-markdown
# or
yarn add ra-input-markdown

Usage

import React from 'react';
import {
    DateInput,
    Edit,
    EditButton,
    LongTextInput,
    TextInput,
} from 'react-admin';
import MarkdownInput from 'ra-input-markdown';

const PostTitle = ({ record }) => {
    return <span>Post {record ? `"${record.title}"` : ''}</span>;
};

export const PostEdit = (props) => (
    <Edit title={<PostTitle />} {...props}>
        <DisabledInput label="Id" source="id" />
        <TextInput source="title" validation={{ required: true }} />
        <LongTextInput source="teaser" validation={{ required: true }} />
        <MarkdownInput source="body" />
        <DateInput label="Publication date" source="published_at" />
    </Edit>
);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].