Skip to main content

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/

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']
                    },
             }
content = st_jodit(config)
st.write(content)

By default code will pass readonly:false 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

streamlit_jodit-1.0.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_jodit-1.0.0-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file streamlit_jodit-1.0.0.tar.gz.

File metadata

  • Download URL: streamlit_jodit-1.0.0.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

Hashes for streamlit_jodit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e35f8f9369ab9703440782c6b783ff5620b000f8d11b6cce4acdb94b1a69c01e
MD5 4c7e3856fa97ea6bbe76092c2ce137fa
BLAKE2b-256 449446eca9dd294d2b563c30aeda2cb9d7bfd0dc00ce31154d3c68a3e522924e

See more details on using hashes here.

File details

Details for the file streamlit_jodit-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_jodit-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f744e905b014ae31406245bf3635287350c392bef6929913efa82b624f8b79db
MD5 b5f7e20b41715008189cc6abca0b356e
BLAKE2b-256 c79ba7ddfd1deaa6a31701ae5dfcaa278c1fbc2635906a82df2c40084b080b13

See more details on using hashes here.

Supported by

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