-
Notifications
You must be signed in to change notification settings - Fork 8
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
can't interact with editor #20
Comments
I would need more info. What does the network tab of the devtools say about request to skypack CDN. I suspect that the files are taking too much time in loading it... |
have you provided it with the django_tiptap/django_tiptap/templates/forms/tiptap_textarea.html Lines 1350 to 1354 in ba895a9
valid values are |
I didn't know that was required. Based on the README,md, all I did was:
Where/how am I supposed to set the value? Is it in the config? Because the config section of README.md indicates that |
Locally it works for me, maybe @solen0id might be able to help out on this one |
Django 5, letest package, same error and editor doesn't work |
I had this problem (also using Django 5) then noticed that the css hadn't been included anywhere. Needed to add the following to my form template - <link rel="stylesheet" href="{% static 'django_tiptap/css/styles.css' %}"> Once I had that, the form renders (although the toolbar only starts to render once the widget gets focus). The formatting is all over the place for the toolbar, though I think this may just be that the svg's aren't particularly consistent in size and centering. There's a problem with the tippy dropdown for table. It renders off-screen (and hidden) if the button is at the right. Seems some text/fields missing from it as well: The form template also has a syntax error - line 3-4, the include directive is split over 2 lines so is not interpreted by django, should be: {% include "django/forms/widgets/attrs.html" %} |
I wanted to try this out, so I created a new Django v3.2.13 project and created a single model:
When I try to add a story in Django Admin, I see a resizable white rectangle that looks like a text box - however, I can't interact with it at all. Clicking does nothing, not even placing a cursor.
I tried both Firefox and Chromium on Ubuntu 20.04.
The text was updated successfully, but these errors were encountered: