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
14
votes
3 answers

Django Grappelli Tabular Inline add new row TinyMCE textfield not editable

I am using django Grappelli skin for my project. I have a ModelAdmin with tabular inline function. I use extra = 0 to prevent auto insert blank row, when the page is loaded. It works fine. Now, when I click on the + sign to insert new row, the row…
kelvinfix
  • 2,915
  • 8
  • 37
  • 49
13
votes
9 answers

TinyMCE shows error in the editor

I have used tinyMCE for my project. but now I am getting a below error This domain is not registered with TinyMCE Cloud. Start a free trial to discover our premium cloud services and pro support Can anyone know how to get rid of this error message?…
Prakash Patil
  • 443
  • 1
  • 4
  • 11
7
votes
2 answers

Django-tinymce full featured in admin

I set up django-tinymce to work with admin just like the docs described in settings INSTALLED_APPS = [ ..., 'tinymce',] in models I added from tinymce.models import HTMLField content = HTMLField() and in urls urlpatterns = [ ....,…
Zeyad Obaia
  • 686
  • 1
  • 6
  • 21
7
votes
1 answer

ModelForm doesn't render TinyMCE (ReferenceError: tinyMCE is not defined)

I have got django-tinymce working for the admin page. Now outside the admin page, when using a modelform I was expecting the TinyMCE editor to be loaded and shown to the user, this however didn't happen. All I see is a plain text area. But it works…
Houman
  • 64,245
  • 87
  • 278
  • 460
6
votes
1 answer

embedded media not showing up in html editor in TinyMCE

And it won't save. I use the media plugin to insert a video from youtube. The movie shows up in preview. I press insert. This is what ed.execCommand('mceInsertContent', false, h); outputs in media.js:
demux
  • 4,544
  • 2
  • 32
  • 56
6
votes
3 answers

Django: Use TinyMCE 4 in admin interface

After trying various ways to have TinyMCE as editor for my HTML content in Django administration I finally get it to work with this tutorial - https://github.com/ITCase-django/django-tinymce-4. However using this method I have to have Django 1.9 and…
Filip
  • 1,824
  • 4
  • 18
  • 37
6
votes
1 answer

django-tinymce doesn't show formatting toolbar

TL;DR - Tinymce's formatting toolbar doesn't show. One line of django-generated html seems suspect, but I'm not sure why it is where it is. This is python 3.4 and django 1.8. I've done this: settings.py I'm using the django-tinymce default…
jma
  • 3,580
  • 6
  • 40
  • 60
6
votes
2 answers

Editing the raw HTML inside a TinyMCE control

I have a Django website in which I use django-tinymce to edit HTML fields with a TinyMCE control. TinyMCE practically gives me a WYSIWYG way to edit HTML. My question is, can I get access to edit the underlying HTML directly? I was thinking, maybe…
Ram Rachum
  • 84,019
  • 84
  • 236
  • 374
5
votes
4 answers

Django-tinymce and django-filebrowser, image upload Error finding Upload-Folder (MEDIA_ROOT + DIRECTORY)

So I'm trying to get filebrowser working with tinymce in django. Evrything goes fine with tinymce, nice fancy text editor. When I try to open the file browser i get ImproperlyConfigured at /admin/filebrowser/browse/ Error finding Upload-Folder…
Christopher
  • 169
  • 2
  • 6
5
votes
1 answer

how to enable a plugin within django-tinymce?

I have started using tinymce in my django project. I need to enable some plugins which come bundled with django-tinymce (for example, template). So, within my settings.py, I have added the following configuration: TINYMCE_DEFAULT_CONFIG = { …
sogeking
  • 1,216
  • 2
  • 14
  • 45
4
votes
1 answer

TinyMCE popups not loading when using S3 and setting document.domain

My main domain is 'btaylorweb.com'. I have a subdomain 'static.btaylorweb.com' that uses a CNAME to point to my CloudFront URL. TinyMCE is loading just fine from S3, however, my popups are blank. I've set the domain as such: document.domain =…
Brandon Taylor
  • 33,823
  • 15
  • 104
  • 144
4
votes
5 answers

How to upload images (like from my computer) to my django-tinymce formField?

I have an HTML page (not django admin) showing a WYSIYYG tinymce field: What i need to do with it is writing some text (it works), upload some images to illustrate the text (it doesn't work) and finally if possible give a class to these uploaded…
Paul Choppin
  • 116
  • 1
  • 11
4
votes
2 answers

TinyMCE in Django Template

Using django-tinymce I have successfully embedded TinyMCE in the Admin before. Embedding it in a front-end form does not seem to work for me however. I have a form which is a modelForm. It doesn't add any extra fields ('comment' and 'statement' are…
Heyl1
  • 2,437
  • 3
  • 24
  • 31
4
votes
1 answer

How to use tinymce with highlight.js?

On my website I wanna show syntax highlighted code to readers. I am using Tinymce for editing purposes. I am using Mezzanine CMS and I dunno much about TinyMCE. The problem is when I select preformat for wrapping my code snippet, TinyMCE wraps it…
Mayur Rokade
  • 512
  • 7
  • 20
3
votes
1 answer

TinyMCE - Pass value from Popup

I am using TinyMCE . On a Click I am opening an inline popup successfully.But I have no idea how I can pass a value from popup to tinyMCE.Any help highly appreciated. tinyMCE.activeEditor.windowManager.open({ file : "options.jsp", title :…
Pit Digger
  • 9,618
  • 23
  • 78
  • 122
1
2 3
9 10