Comments (10)
Please paste more details. What kind of problems you are experiencing? Have you checked if markdown.css and markdown.js are downloaded correctly?
from django-markdownx.
When I use your pure MarkdownxWidget
, 'form-control' doesn't appear in the class attribute of textarea in the HTML file. However, I used that class MarkdownxWidgetImproved
, 'form-control' appear in the class attribute of textarea in HTML file. template is just {{ form.content }}
. Other functionality is well working, just that feature doesn't work.
I saw your logic, and I think attrs in the parameter is newly added attribute and self.attrs exists in the class so that I add that logic.
from django-markdownx.
Have u checked it with v1.7?
from django-markdownx.
It was published on Saturday.
from django-markdownx.
Yes, I take package before 3 hours ago. I'll give you some example core for this. wait a minute.
from django-markdownx.
Code is here. https://github.com/sh0416/markdown_example
I didn't apply bootstrap so you can check with pure html;; sorry;;
Also, the difference can check in views.py.
from django-markdownx.
You doesn't mention about this kind of usage, but I think this should be also well worked.. :)
My development environment is python3, django1.10.5.
from django-markdownx.
Yes, I have spotted the bug. Fix is on the way!
from django-markdownx.
https://github.com/adi-/django-markdownx/releases/tag/v1.7.1 should fix your issue.
from django-markdownx.
It is already on PyPi
from django-markdownx.
Related Issues (20)
- Using absolute paths for images? HOT 3
- Found a possible security concern HOT 2
- No cookie with key "csrftoken". Wrong name?
- Can't type `[` or `]` using a french keyboard on Windows
- MARKDOWNX_EDITOR_RESIZABLE does not appear to work in v4
- Can't add multiline code block HOT 1
- Release for Django 4.0 HOT 2
- getCookie() bug? HOT 1
- Simple optimization inside views.py HOT 1
- AttributeError on markdownify HOT 1
- A recent Upload and markdownify path errors
- How to customize the textarea cols HOT 2
- Cross-Site Scripting (XSS) Vulnerability in Markdown Library HOT 1
- AttributeError when using pillow >=10.0
- Css for dark theme in admin page
- Contact email to report a vulnerability does not exists HOT 1
- Allow overriding the default storage class for images and such
- Load HTML in iframe?
- Editor height grows on inputs HOT 16
- Ability to set a media path per MarkdownxField
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-markdownx.