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

Using django-tinymce with django-filebrowser to upload images to a blog post

I am implementing django-tinymce together with django-filebrowser to be able to include media files in the text editor of a blog. Everything seems to be working fine, but when I click on the image button in the text editor, the dialog box doesn't…
1
vote
1 answer

small problem with django-tinymce and django-filebrowser integration

I am trying to integrate django-tinymce with django-filebrowser for my django admin site. Everything (almost) works fine. manage.py test filebrowser, works ok http://localhost:8000/admin/filebrowser/browse/ works, too however when I press the…
xpanta
  • 8,124
  • 15
  • 60
  • 104
1
vote
1 answer

django : tinymce editor not loaded on ajax load

I am using django-tinymce in my website. Tinymce editor of the form appear on normal page load, but its tinymce editor doesn't loads when form section is loaded on ajax load(using jquery load). In firebug it doesn't gives any error. What may be the…
Wentworth
  • 199
  • 2
  • 10
1
vote
1 answer

django-tinymce changes relative urls

tinymce to manage my contents. it's ok, works but there is a small thing that i a curious to know is that why tinymce changes urls by it's own. for example: i put a link and using url like /post/post1 but whenever i check my url, tinymce makes it…
1
vote
1 answer

How to specifiy default CSS class for list

In TinyMCE, how can I pre-define CSS class for unordered list
    . The idea is that I write my article in TinyMCE editor, then once the content is saved, the final HTML is:
      ...
    I'm using django-tinymce.
PG04
  • 21
  • 2
1
vote
0 answers

Django-TinyMCE How to render Django template tags in TinyMCE?

Is there any way to render django template tags/variables inside the Django-TinyMCE editor? As in: "{% url 'url-name' %}" inside the link plugin. "{{ model.get_absolute_url }}" inside the link plugin. Any help is appreciated,
1
vote
1 answer

Django-tinymce not showing in admin

I installed django-tinymce, put it in the installed apps, added the url. Then I created a model as below: from tinymce import models as tinymce_models class Post(models.Model): parent = models.ForeignKey('self', blank=True, null=True,…
iscream
  • 680
  • 2
  • 8
  • 20
1
vote
2 answers

TinyMCE Configuration

I have following setup for tiny MCE. As you can see in image it shows a third row of buttons . I dont know where it comes from ! There is no setting in my javascript code for a third row still it shows that there. tinyMCE.init({ mode :…
Pit Digger
  • 9,618
  • 23
  • 78
  • 122
1
vote
1 answer

Tiny MCE Default Content

I want to load TinyMCe with default content as below when loaded . I have set cleanup : false . Still it wraps html with

and removes my code . Any solution to this ?
Pit Digger
  • 9,618
  • 23
  • 78
  • 122
1
vote
2 answers

How Do I Set TinyMCE Border Radius?

I am trying to set the border radius for the TinyMCE editor that I am using in my project. I've researched this a couple of times and can't seem to find an answer that works. I found a similar question here, but it doesn't seem to work...Adding…
Steve Smith
  • 1,019
  • 3
  • 16
  • 38
1
vote
1 answer

Configure TinyMCE Tag Use (Strong->B, etc) (Django-tinymce)

So, I'm looking through the documentation, and unfortunately it stops short of offering any sort of explanation on how the normal TinyMCE format translates into the settings.py TINYMCE_DEFAULT_CONFIG dictionary. Basically, I need to configure it so…
1
vote
1 answer

File Browser no grapelli: NameError: name 'site' is not defined

I'm following this tutorial for install django-tinymce4-lite. At the end of the tutorial there are the indications to install django-filebrowser-no-grappelli. I use Django 2.1.1 but even though I've followed all the indications, after the…
1
vote
1 answer

Django-TinyMCE Theme options

TINYMCE_DEFAULT_CONFIG has an option to set a theme which in the code I copied, is set to "advanced". I would like to change this to "modern" or one of the other options but it doesn't seem to allow this? Or do I need to download the theme to…
Sam
  • 43
  • 4
1
vote
0 answers

I can't use django-tinymce upload picture,I installed django-filebrowser

I have a question about django-tinymce upload picture. django-filebrowser installed my project and work very well. I can use a FileBroseFiled upload files. next I installed the django-tinymce to my project, used the tinmyce edit my content,…
maotoo
  • 11
  • 2
1
vote
2 answers

Remove inline styles from django-tinymce html content

When I save content through django-tinymce it adds its own inline styles. However I'd like to remove this behaviour and just save the content in plain html. Can you please help me on this issue?
grustamli
  • 396
  • 4
  • 16