@dslab/ra-ace-editor
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

React-Admin AceEditor

Version Documentation Maintenance License: MIT

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" />

AceField screenshot

AceEditorInput

To use the input in an edit/create form include the component

<AceEditorInput mode="html" source="body" theme="monokai" />

AceInput screenshot

Author

SmartCommunityLab

Show your support

Give a ⭐️ if this project helped you!

License

Copyright © 2023 SmartCommunityLab.
This project is MIT licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i @dslab/ra-ace-editor

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

37.5 kB

Total Files

29

Last publish

Collaborators

  • dslab