Metadata-Version: 2.1
Name: streamlit-editorjs-component
Version: 0.1.2
Summary: editorjs component for streamlit
Home-page: https://github.com/sanekun/streamlit-editorjs-component
Author: sanekun
Author-email: sanekun@kaist.ac.kr
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: streamlit (>=1.2)
Requires-Dist: jinja2

# streamlit-editor-js-component

Custom component for editorjs.  
[Editorjs](https://editorjs.io/) is json-based rich-text-editor.  

### Usage

``` python
from streamlit-editorjs-component import streamlit_editorjs

content = streamlit_editorjs(height=500)
```

``` plain text
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.
```


