Comments (7)
Looks like the dependency was removed from the requirements.txt, but the software still depends on it here
from django-tinymce4-lite.
I was able to temporarily get around this issue by setting the following in my Django settings:
TINYMCE_SPELLCHECKER = False
from django-tinymce4-lite.
I cannot reproduce your error. TINYMCE_SPELLCHECKER
option defaults to False
, that is, without this option in project's settings.py
enchant
module won't be imported. That is why it is not listed as a dependency - the package does not depend on it by default.
from django-tinymce4-lite.
You have described the bug. The software currently supports a flag called TINYMCE_SPELLCHECKER
, but it has an implicit dependency on a third party library. The implicit dependency is the bug itself.
Django Tinymce also has this issue, but they handle the exception with a helpful error.
I'm happy to submit a PR to fix. Two options off the top of my head:
- Add the dependency to
requirements.txt
and update docs (best option). - Do what Django Tinymce does and catch this exception (better that current).
Context:
from django-tinymce4-lite.
There is no bug. By default the spellchecker is disabled and you won't get any error. The documentation explicitly states that you need to install pyenchant
for the spellchecker to work. If a user does not reads the documentation, it is their problem.
The dependency on pyenchant
was removed to address the situation when a user does not use spellchecker or when pyencnant
/enchant
libraries are not available/broken on their system, like in #1.
from django-tinymce4-lite.
Thanks
from django-tinymce4-lite.
Although I agree that more explicit error message will be helpful. I will add it in the next release.
from django-tinymce4-lite.
Related Issues (20)
- Admin shows old tinymc HOT 6
- Changing setup parameters in TinyMCE config HOT 1
- Not working in Widget HOT 2
- embed social media HOT 1
- The big problem for productiong with fu*ked strings HOT 2
- Language "locked in" on first page load HOT 10
- how can i change color of text area in django-tinymce-4-lite? HOT 2
- issue Textfield shows html in production HOT 32
- How to add custom classes to specific elements? HOT 2
- i want set default fontsize and font family HOT 1
- Use django JSON serialization to support lazy gettext HOT 4
- Plans for TinyMCE 5 ? HOT 6
- Multiple Timymce toolbars settings HOT 6
- Lot of "debugging" errors HOT 15
- Insecure Content Security policy "unsafe-inline" required HOT 7
- Support for django 2.2 HOT 1
- ERROR: Reverse for 'tinymce-css' not found. HOT 1
- X-Frame-Options: βDENYβ HOT 4
- s3 storage for uploaded images HOT 4
- Tinymce not working with ManifestStaticFilesStorage HOT 4
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-tinymce4-lite.