Skip to main content

Django pell WYSIWYG widget

Project description

Django Pell

Code style: black coverage report

Custom django widget built on pell.

Django Pell in action


class EditorForm(forms.Form):
    """Simple form which exposes the Django Pell Widget."""

    editor = forms.CharField(
        help_text='Pell is "the simplest and smallest WYSIWYG text editor for web, with no dependencies"',

def editor_view(request):
    """Simple view which renders the EditorForm."""

    return render(
        context={"form": EditorForm()},
<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
{{ }}
  {{ form.as_p }}

For a complete example check out the example included in this repo.

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

django_pell-0.0.10.tar.gz (7.3 kB view hashes)

Uploaded source

Built Distribution

django_pell-0.0.10-py3-none-any.whl (7.5 kB view hashes)

Uploaded py3

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