Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i force that tinyMCE does not convert <b> tags to <strong> tags?

when i use the html editor tinyMCE and i paste code inside, it converts the html <b> tags into <strong> tags.

Does andybody knows how can i force this editor to prevent such convertions?

Thanks.

like image 514
Tony Avatar asked May 23 '11 08:05

Tony


1 Answers

Yes, use this piece of code in your tinymce init

    // Override internal formats  
    formats: {
        bold : {inline : 'b' },  
        //italic : {inline : 'i' },
        //underline : {inline : 'u'}
    },
like image 177
Thariama Avatar answered Oct 04 '22 21:10

Thariama