Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akshay1728/streamlit-jodit
Jodit editor component for streamlit
https://github.com/akshay1728/streamlit-jodit
html-editor jodit jodit-react joditjs pyhton rich-text-editor streamlit streamlit-component streamlit-jodit streamlitjodit
Last synced: 2 months ago
JSON representation
Jodit editor component for streamlit
- Host: GitHub
- URL: https://github.com/akshay1728/streamlit-jodit
- Owner: akshay1728
- License: mit
- Created: 2024-08-26T14:39:28.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T15:39:51.000Z (4 months ago)
- Last Synced: 2024-09-27T22:01:13.714Z (3 months ago)
- Topics: html-editor, jodit, jodit-react, joditjs, pyhton, rich-text-editor, streamlit, streamlit-component, streamlit-jodit, streamlitjodit
- Language: Python
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# streamlit-jodit
Streamlit component that allows you to use Jodit HTML editor in streamlit. Jodit is a open source rich text editor
https://xdsoft.net/jodit/This component is based on react wrapper - https://github.com/jodit/jodit-react
## Installation instructions
```sh
pip install streamlit-jodit
```## Usage instructions
```python
import streamlit as stfrom streamlit_jodit import st_jodit
config={
'minHeight':300,
'uploader': {
'insertImageAsBase64URI': True,
'imagesExtensions': ['jpg', 'png', 'jpeg', 'gif', 'svg', 'webp']
},
}
content = st_jodit(config)
st.write(content)
```
By default code will pass **readonly:false** to config.
List of options for config is available at https://xdsoft.net/jodit/docs/options.html