Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editor_options and formatting #12

Open
efe opened this issue Dec 8, 2016 · 0 comments
Open

editor_options and formatting #12

efe opened this issue Dec 8, 2016 · 0 comments

Comments

@efe
Copy link

efe commented Dec 8, 2016

Hello,

I'm trying to add h5 and h6 formatting options, but it doesn't affect the editor.

# ModelForm
class Meta:
    model: Something
    widgets = {
        'content': RedactorWidget(editor_options={
            'lang': 'en',
            'iframe': True,             
            'formatting': ['p', 'blockquote', 'pre', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']})
    }

Does django_suit_redactor support formatting in editor options?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant