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
1
vote
1 answer

How to disable editor

I use django-tinymce to input formatted text. I need to disable whole field in form and all editor buttons but can't find how. If anyone has idea about how it can be done, please help.
Dmitrii Mikhailov
  • 5,053
  • 7
  • 43
  • 69
1
vote
0 answers

TinyMCE installation gives warning

I did pip install django-tinymce and it gives this warning Downloading django-tinymce-1.5.1.tar.gz (2.4MB): 2.4MB downloaded Running setup.py egg_info for package django-tinymce warning: no previously-included files found matching…
user2539745
  • 995
  • 2
  • 15
  • 24
1
vote
1 answer

Issue with django-tinymce

I'm working with a django form which uses django-tinymce. I have followed the instructions in django-tinymce.readthedocs.org. This seems to work, however the buttons are not appering properly in firefox or in IE 9. But its working fine in Google…
Nick
  • 1,799
  • 3
  • 23
  • 32
1
vote
1 answer

how to paste
 into tinymce and preserve the formatting?

This seems very hard to do. I'm pasting html code with
 into tinymce editor.
All the whitespaces are gone inside the 
 
e.g. I'm trying to copy StackOverflow's 
block as in 
def foo():
  help me

It seems, tinymce trims…
eugene
  • 39,839
  • 68
  • 255
  • 489
1
vote
2 answers

How to setup TINYMCE to point to static_files?

I am using Django 1.5.1, and as we know since Django 1.3 the world of Media and statis files have been separated for good reasons. To my surprise django-tinymce's documentation is referring to how TINYMCE_JS_URL is pointing by default to the media…
Houman
  • 64,245
  • 87
  • 278
  • 460
1
vote
0 answers

django-tinymce: javascript error on console, tinymce widget not rendered

i'm using django-tinymce in a django project. After following the setup as suggested from docs, i've experienced some problems while deploying it. In fact, with the same settings, with development runserver, I got it working locally, but on a test…
Luke
  • 1,794
  • 10
  • 43
  • 70
1
vote
3 answers

django-tinymce removes bootstrap HTML code

I'm using/testing django-cms (2.3.5) + bootstrap based templates. Using django-tinymce I add the code: But django-tinymce removes "data-slide="next""
Daviddd
  • 761
  • 2
  • 12
  • 37
1
vote
2 answers

Django-tinymce in Django Admin - "can't find variable: tinyMCE"

I'm trying to use django-tinymce to edit fields in django admin. I've the app installed in my virtualenv (django-tinymce==1.5.1b4). It's listed in my installed apps - INSTALLED_APPS = ( #... 'tinymce', #... ) My settings includes the…
Aidan Ewen
  • 13,049
  • 8
  • 63
  • 88
1
vote
1 answer

TinyMCE: Backspace Problems

Suppose there is already a text say Hello World in the text area of TinyMCE. Now I delete the space between Hello and World and make it HelloWorld. Immediately I add a space between Hello and World to get Hello World.(Expected Output) After the…
Abilash
  • 6,089
  • 6
  • 25
  • 30
1
vote
0 answers

how to over ride some of tinymce's methods - specially render

i wanna override TinyMCE's render method i want to use a button beside TinyMCE for some reason, i'v written some lines, but it does no effect: this is my class: class UpdateTinyMCE(TinyMCE): def render(self, *args, **kwargs): html =…
Zeinab Abbasimazar
  • 9,835
  • 23
  • 82
  • 131
1
vote
2 answers

django: tinymce and unicode

I am using django-tinymce v1.5.1b2. I am also using an HTMLField() model field like this: class Page(models.Model): title = models.CharField(max_length=512) slug = models.SlugField(max_length=512, default='', blank=True) content =…
xpanta
  • 8,124
  • 15
  • 60
  • 104
1
vote
1 answer

Django, django-tinymce, jQuery, and HTML5 Boilerplate

I'm using django-tinymce and HTML5 Boilerplate (H5BP) with my Django application. Per the wise suggestion of H5BP, I have placed my jQuery loads at the bottom of my body. I attach a TinyMCE editor to my form fields with something like this: …
Erik
  • 7,479
  • 8
  • 62
  • 99
1
vote
1 answer

Django TinyMCE spellchecker not working properly in Chrome, Safari

I'm using TinyMCE editor for my forms in my django app. But the spellchecker plugin won't work properly in Chrome (version 21.0.1180.79) and Safari (version 5.1.7), but works great in Firefox. "Not working properly" here means that the spellchecker…
Ed Patrick Tan
  • 727
  • 1
  • 9
  • 15
0
votes
1 answer

django-tinymce in django-admin popup window display blank

I followed django-tinymce document configuration step by step and finally can see tinymce editor in django-admin pages. But when I click Image button, the popup window is blank. And the title of popup window is '{#advanced_dlg.image_title}' like…
wang wynn
  • 174
  • 8
0
votes
1 answer

Django Tiny MCE and Static files

I have django tinymce setup but I hav noticed an issue with the tool when not in debug mode. The advanced theme has some templates in it, these templates contain django template code. The problem is that these templates are being served out of the…
Cory Gwin
  • 1,243
  • 1
  • 17
  • 27