Skip to main content

Upload Python Package

Aceditor wtforms control

Aceditor wtforms control

https://ace.c9.io/

Use with flask-admin

from wtforms_aceditor import AceEditor

class ExampleView(ModelView):
    form_widget_args = {
        'config_yaml': {
            'style': 'width:100%; height: 200px;'
        }
    }
    form_args = {
        'config_yaml': {
            'widget': AceEditor('yaml', minLines=4, tabSize=4),
            'validators': [YamlValidator()]
        }
    }

Use with flask-forms

from wtforms_aceditor import AceEditor

class SampleForm(FlaskForm):
    code = TextAreaField('config_yaml', widget=AceEditor('yaml'))

Run example

FLASK_APP=example1.app flask run

Release files for wtforms-aceditor 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wtforms-aceditor 0.0.2
File Size Uploaded
wtforms_aceditor-0.0.2.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wtforms-aceditor 0.0.2
File Interpreter ABI Platform
wtforms_aceditor-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / wtforms_aceditor-0.0.2.tar.gz

Download URL wtforms_aceditor-0.0.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4f72a6aa42428cceb762eea9c37f7dca8a61f68328792aca0f8af1f845fa9fbf
BLAKE2b-256 checksum
How to use checksums
11a2876ed3f13bbd9980d4e9b0ebb4ce283a4461272675d8aab88be51aeaaa95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / wtforms_aceditor-0.0.2-py3-none-any.whl

Download URL wtforms_aceditor-0.0.2-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b7560bfc239e9c1d77f109a1c994308386fa507d590e6ce4d52e36c77cbff44
BLAKE2b-256 checksum
How to use checksums
7a48623584ede66b639573208b272a1b5b8a169784af21b716766561b19dca0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page