Streamlit component that allows you use Jodit editor (Rich text editor)
Project description
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/
GitHub - https://github.com/akshay1728/streamlit-jodit
Installation instructions
pip install streamlit-jodit
Usage instructions
import streamlit as st
from streamlit_jodit import st_jodit
config={
'minHeight':300,
'uploader': {
'insertImageAsBase64URI': True,
'imagesExtensions': ['jpg', 'png', 'jpeg', 'gif', 'svg', 'webp']
},
}
value='Initial text to be displayed in editor'
content = st_jodit(config=config,value=value)
st.write(content)
By default code will pass readonly:false as config to the component. List of options for config is available at https://xdsoft.net/jodit/docs/options.html
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit-jodit-1.0.1.tar.gz.
File metadata
- Download URL: streamlit-jodit-1.0.1.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4febcb638dace74106171e2eeca46cdb425f8a28a943de511800ddd3a4752a1c
|
|
| MD5 |
d1d573a6efc557ac0cf405d1fa90d81f
|
|
| BLAKE2b-256 |
bb0b710ca5612ba353db8bd65d9ea616232e6ce83a3392bc524e13a376ad48db
|
File details
Details for the file streamlit_jodit-1.0.1-py3-none-any.whl.
File metadata
- Download URL: streamlit_jodit-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b44f0c68e20a2a8a5221cb44b4690500e5f360eff485b73e94c2c733e32a9c9
|
|
| MD5 |
2d2e74879106b015c8b0a385d4d92e4c
|
|
| BLAKE2b-256 |
9f8792529ec5e5be86366bda41a9f0eef26ee37756221b8d4b651e79c904d238
|