First time here? Check out the FAQ!

Revision history  [back]

Imageuploader and attachment button not displayed

Hello !

I have try many things in order to make the image and attachment buttons appear ...

But it fails and it fails silently...

And as the buttons don't shows up, I can suppose something goes wrong but what ? as tinymce does no logs anything in chome

I'am really stuck and have no idea, help wanted!

My settings ...

TINYMCE_DEFAULT_CONFIG = {
    'plugins': 'askbot_imageuploader,askbot_attachment',
    'convert_urls': False,
    'theme': 'advanced',
    'content_css': STATIC_URL + \
               'default/media/style/tinymce/content.css',
    'force_br_newlines': True,
    'force_p_newlines': False,
    'forced_root_block': '',
    'mode': 'textareas',
    'oninit': 'TinyMCE.onInitHook',
    'onchange_callback': 'TinyMCE.onChangeHook',
    'theme_advanced_toolbar_location': 'top',
    'theme_advanced_toolbar_align': 'left',
    'theme_advanced_buttons1': 'bold,italic,underline,|,bullist,numlist,|,undo,redo,|,link,unlink,askbot_imageuploader,askbot_attachment',
    'theme_advanced_buttons2': '',
    'theme_advanced_buttons3': '',
    'theme_advanced_path': False,
    'theme_advanced_resizing': True,
    'theme_advanced_resize_horizontal': False,
    'theme_advanced_statusbar_location': 'bottom',
    'editor_deselector': 'mceNoEditor',
    'width': '100%',
    'height': '250'
}