Remove bottom branding from tiny mce in django templates

470 Views Asked by At

I am using tiny mce HtmlField() in my django models. Every thing works file but the bottom branding in the field annoys me. Is there any way to remove branding in django template. I have to get rid of this branding is there any way

2

There are 2 best solutions below

4
mursalin On BEST ANSWER

This supposed to work.

tinymce.init({
    selector: '#tinymce-div',

    // Disable branding message, remove "Powered by TinyMCE"
    branding: false
});

note: If you are developing a product using there open source license you should consider keeping the text. That's a courtesy we all should follow.

0
Akshit Tyagi On

To disable it go in settings.py and add these line -

TINYMCE_DEFAULT_CONFIG = {
    'branding': False,
    'height': 460,
    'width': 900,
}

You can adjust height and width as per your requirement