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
yarn install @dslab/ra-ace-editor
Import the components from the library as needed.
To use the field in a show view include the component
<AceEditorField mode="html" source="body" theme="monokai" />
To use the input in an edit/create form include the component
<AceEditorInput mode="html" source="body" theme="monokai" />
SmartCommunityLab
- Website: http://www.smartcommunitylab.it/
- Github: @smartcommunitylab
Give a ⭐️ if this project helped you!
Copyright © 2023 SmartCommunityLab.
This project is MIT licensed.