React-Admin AceEditor
React AceEditor input + field for React-Admin.
Add support for Ace Editor [https://ace.c9.io/] via https://github.com/securingsincity/react-ace
Exports:
- AceEditorField for visualization
- AceEditorInput for editing
Install
yarn install @dslab/ra-ace-editor
Usage
Import the components from the library as needed.
AceEditorField
To use the field in a show view include the component
<AceEditorField mode="html" source="body" theme="monokai" />
AceEditorInput
To use the input in an edit/create form include the component
<AceEditorInput mode="html" source="body" theme="monokai" />
Author
SmartCommunityLab
- Website: http://www.smartcommunitylab.it/
- Github: @smartcommunitylab
Show your support
Give a ⭐️ if this project helped you!
License
Copyright © 2023 SmartCommunityLab.
This project is MIT licensed.