Comments (4)
Anyone who comes here looking for a fix:
- Create change_form.html inside your_project_name > templates > admin directory.
- Paste the following and all should work as expected:
{% extends "admin/change_form.html" %}
{% load i18n static %}
{% block extrastyle %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}" />
<style>
form .aligned ul li {
list-style: inherit;
}
</style>
{% endblock %}
This can also help: #73
from django-froala-editor.
@mikolajkosmal most likely you have some other CSS on the page which conflicts with the editor.
from django-froala-editor.
I found this too, when using the widget in an admin form.
The built-in django admin css is resetting list style, see:
https://github.com/django/django/blob/2.0.5/django/contrib/admin/static/admin/css/forms.css#L148
from django-froala-editor.
So what was the fix for this, if anyone got to do it?
from django-froala-editor.
Related Issues (20)
- Django 3.2 not supported due to missing db_collation support HOT 1
- Add newer versions to Python Package Index HOT 1
- Using the License Key HOT 1
- 4.0.4 not availbale on PyPI HOT 4
- Is this still maintained? I mean really maintained and not just having js/css files updated?
- missing files froala-django.css and froala-django.js HOT 2
- Static Collection failing on Django 4.0 HOT 3
- Writing a Third Party Plugin HOT 1
- Cant upload photos HOT 1
- json encoding of option should use DjangoJSONEncoder
- image/webp should be added to allowed image types
- Image upload not working HOT 4
- bug report, uploading image with same filename HOT 1
- Can not upload videos HOT 2
- CSS Layers of link "popup" is broke
- Everythign works except the Manage Images
- When will 3.1.1 be pushed out for Django Froala? HOT 1
- No Uploading multiple images
- Django 3.0, admin inlines, throws JS error when new inline formset is added HOT 2
- Maximum call stack size exceeded. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-froala-editor.