Questions tagged [django-tinymce]

django-tinymce is a pluggable django app that contains a widget to render a form field as a TinyMCE editor.

django-tinymce is a pluggable django app that contains a widget to render a form field as a TinyMCE editor.

146 questions
3
votes
6 answers

tinymce custom bullet and number lists

I am wondering if it is possible to create custom bullet and number lists? I've added the plugin advlist and tried the examples others have tried here and here. The first one seems to allow some changes to be made. However, I am trying to replace…
bmeyer71
  • 362
  • 3
  • 10
  • 23
2
votes
3 answers

how to use tinyMCE as a automatic spell checker in django?

Is there any option for automatic spell checker( while typing) in tinymce?.
sam
  • 21
  • 2
2
votes
1 answer

how to add classes to the dropdown menu in the TinyMCE table editor

All, I am working on a Django application that uses the TinyMCE editor and the tables plugin for TinyMCE. Users have requested custom table classes (let's say some should be red and others should be blue). This is easy enough to do in CSS. And I…
trubliphone
  • 4,132
  • 3
  • 42
  • 66
2
votes
2 answers

change django-tinymce content css for various object

How can I change content_css option in django-tinymce for various objects? I mean that when I use tinymce for model1 then content_css is model1.css and when for model2 then model2.css. I use
szaman
  • 6,666
  • 13
  • 53
  • 81
2
votes
1 answer

Is there a way to speed up TinyMCE placeholder load time?

I have recently upgraded TinyMCE to the latest version and the editor itself loads almost immediately. The issue I'm having is that the placeholder value takes up to 3-4 seconds to appear. I using the latest tinymce-django version and have gone…
Steve Smith
  • 1,019
  • 3
  • 16
  • 38
2
votes
1 answer

Django-tinymce not loading on Amazon S3 despite all other static files loading

I've been using this guide https://www.codingforentrepreneurs.com/blog/s3-static-media-files-for-django/ to get to use S3 for my site's static files. I had TinyMCE working locally, but once I started using S3 to for my files it's the only part…
2
votes
1 answer

'CharField' object has no attribute 'is_hidden' when passing initial value to a form's CharField which uses a TinyMCE widget

I'm setting up a site where users can create "lectures" which have a stylized lecture text. The style is facilitated by the TinyMCE plugin applied when filling out the lecture_text field when creating a lecture. Creating the lecture works fine, but…
nglaeser
  • 48
  • 1
  • 8
2
votes
2 answers

django filebrowser not allowing folders to be created and does not upload files

I'm trying to implement django-filebrowser into my latest app. I have grappelli installed also. The urls work fine for getting into filebrowser /admin/filebrowser/browse is what I have it set at. The problem I am having is when it comes to trying to…
2
votes
1 answer

django-tinymce fails to display the widget properly

I'm trying to use to django-tinymce (http://http://django-tinymce.googlecode.com/ ) app to display a WYSIWYG editor in the django admin. I downloaded and installed it, downloaded the tinymce itself and put it into /js/tiny_mce, did not change…
user500944
2
votes
1 answer

how to assign unique html id to a form field for every django form instance

My form is class AnswerForm(ModelForm): class Meta: model=Answers fields=['answer'] widgets ={'answer': TinyMCE(attrs={'cols': 80, 'rows': 30}, mce_attrs={'mode':"textareas",}),} and in my view I am creating an instance of…
Javed
  • 5,904
  • 4
  • 46
  • 71
2
votes
1 answer

django ImportError: No module named tiny-mce

I am running django 1.7.2 and python 2.7. I have a test form that I want to add django-tinymce to my text-areas. I have followed the tutorial here to install django-tinymce. However I get the following error on my local development server when I try…
user1261774
  • 3,525
  • 10
  • 55
  • 103
2
votes
1 answer

Admin field fails to save with tinymce and filebrowser in django

I'm using django-tinymce together with the no grappelli branch of django-filebrowser running django 1.2. I use the tinymce HTMLField model definition for the model field that I would like to have WYSIWYG. I've added the correct javascript to my…
2
votes
2 answers

tinymce for Django is not loading - throwing error in init

Here is my setup: urls.py .... url(r'^tinymce/', include('tinymce.urls')), .... settings.py STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static') TINYMCE_DEFAULT_CONFIG = { "theme_advanced_buttons1": ("formatselect," …
Mihai Zamfir
  • 2,167
  • 4
  • 22
  • 37
2
votes
1 answer

django-tinymce modern theme

I'm having issues getting the modern theme to work with django-tinymce. Both the simple and the advanced themes render correctly, but when I switch to the modern theme nothing renders and I get a 404 error for…
awwester
  • 9,623
  • 13
  • 45
  • 72
2
votes
3 answers

Django-TinyMCE with Multiple Forms

I'm trying to create a single HTML page with multiple instances of TinyMCE editors. The number of editors varies by the request; so I can't enumerate them and initialize them individually. Here is my code: views.py: from tinymce.widgets import…
Nagra
  • 466
  • 3
  • 8
1 2
3
9 10