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

Quillwrapper is already defined.. #121

Open
AvinashPrajapati opened this issue Jun 29, 2023 · 0 comments
Open

Quillwrapper is already defined.. #121

AvinashPrajapati opened this issue Jun 29, 2023 · 0 comments

Comments

@AvinashPrajapati
Copy link

As i tried to load the quill editor form twice :

{{ comment_form.media }}
{{ comment_form.as_p }}

{{ comment_form.media }}
{{ comment_form.as_p }}

but as i know that the form is loaded from embded QuilFormField() in forms.py.

On rendering this form twice or more it gives error

django_quill.js:1 Uncaught SyntaxError: Identifier 'QuillWrapper' has already been declared (at django_quill.js:1:1)

So how can i get multiple form using same form instance as above

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