editorjs component for streamlit
Project description
streamlit-editor-js-component
Custom component for editorjs.
Editorjs is json-based rich-text-editor.
Usage
from streamlit-editorjs-component import streamlit_editorjs
content = streamlit_editorjs(height=500)
Args:
data (dict, optional): initial json data formatted as EditorJS. Defaults to None.
key (str, optional): Streamlit state key. Defaults to None.
height (int, optional): Component block height it the content over the height, it makes scroll. Defaults to 500.
Returns:
dict: dictionary content from EditorJS.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file streamlit-editorjs-component-0.1.2.tar.gz
.
File metadata
- Download URL: streamlit-editorjs-component-0.1.2.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35816b5e63fe21100e2e9b8d600bfa3b0308c9dc2219c94398d698a429020c60 |
|
MD5 | d7a2146e32001ce0e8ba44cf48c45a72 |
|
BLAKE2b-256 | 35d34f7c4f1b0f7dfe741bb06701f492cfebbd949b001fd36be26214986eaf88 |
File details
Details for the file streamlit_editorjs_component-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: streamlit_editorjs_component-0.1.2-py3-none-any.whl
- Upload date:
- Size: 35.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff0da3917aacf169a17898e99a1626cb8a352fc941cd8e698f5977809205cfa8 |
|
MD5 | bba8317c96f972ad52eb5494c5f2a486 |
|
BLAKE2b-256 | 95170597b8cebdc937df20eb32391c8fe75d3b183128d129ce257cb42e02c22e |