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: 3 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-12T18:12:38.000Z (5 months ago)
- Last Synced: 2026-01-12T19:40:14.069Z (5 months ago)
- Topics: html-editor, jodit, jodit-react, joditjs, pyhton, rich-text-editor, streamlit, streamlit-component, streamlit-jodit, streamlitjodit
- Language: Python
- Homepage:
- Size: 419 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
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 st
from 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