Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit-editorjs-component-0.1.2.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file streamlit-editorjs-component-0.1.2.tar.gz.

File metadata

File hashes

Hashes for streamlit-editorjs-component-0.1.2.tar.gz
Algorithm Hash digest
SHA256 35816b5e63fe21100e2e9b8d600bfa3b0308c9dc2219c94398d698a429020c60
MD5 d7a2146e32001ce0e8ba44cf48c45a72
BLAKE2b-256 35d34f7c4f1b0f7dfe741bb06701f492cfebbd949b001fd36be26214986eaf88

See more details on using hashes here.

File details

Details for the file streamlit_editorjs_component-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_editorjs_component-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff0da3917aacf169a17898e99a1626cb8a352fc941cd8e698f5977809205cfa8
MD5 bba8317c96f972ad52eb5494c5f2a486
BLAKE2b-256 95170597b8cebdc937df20eb32391c8fe75d3b183128d129ce257cb42e02c22e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page