Django-tinymce-filebrowser icon indicating copy to clipboard operation
Django-tinymce-filebrowser copied to clipboard

Add plugins

Open Darex1991 opened this issue 11 years ago • 6 comments

How add plugins ? Style, emoticons, text color, print etc ? I search everywhere. But only i can change theme from advanced to simple.

Darex1991 avatar Jan 22 '14 10:01 Darex1991

You can specify plugins option in TINYMCE_DEFAULT_CONFIG

See here http://www.tinymce.com/wiki.php/Configuration:plugins

aisayko avatar Jan 22 '14 10:01 aisayko

Yea, but where i include this js ? Becouse i dont have any tinymce.init({ }); in tinymce..

Darex1991 avatar Jan 23 '14 15:01 Darex1991

In your settings.py

TINYMCE_DEFAULT_CONFIG = {
    'plugins': "emotions,table,spellchecker,paste,searchreplace",
    'theme': "advanced",
    'file_browser_callback': 'mce_filebrowser'
}

aisayko avatar Jan 23 '14 15:01 aisayko

It's not work with mce_filebrowser.. If I write 'plugins': ' ', or i write many plugins.. nothing change..

Darex1991 avatar Jan 24 '14 14:01 Darex1991

ok, i will check soon

aisayko avatar Jan 27 '14 22:01 aisayko

All time I have: tinymce

Tnx

Darex1991 avatar Jan 28 '14 11:01 Darex1991