suyati / line-control

A Light Weight HTML5 Text Editor designed as a JQuery Plugin
Other
124 stars 90 forks source link

problem hiding controls in editor #65

Closed chmike02 closed 8 years ago

chmike02 commented 8 years ago

i tried to hide control bold / italic by following

var settings ={ 'bold': false, 'italics': false, 'underline':false, } $("#txtEditor").Editor(settings);

But unable to know how to hide Font family and other control. using title do we need use.

chmike02 commented 8 years ago

able to fix it

var settings ={ 'fonts': false, 'font_size':false, 'styles':true,

        'bold': true, 
        'italics': true,
        'underline':true,
        'color':false,

        'l_align':true,
        'r_align':true,
        'c_align':true,
        'justify':false,

        'indent':true,
        'outdent':true,
        'block_quote':false,

        'undo':false,
        'redo':false,

        'insert_link':false,
        'unlink':false,
        'insert_img':false,
        'insert_table':false,
        'hr_line':false,
        'strikeout':false,

        'select_all':false,
        'rm_format':false,

        'insertImage':false,
        'createTable':false,

        'print':false,
        'source':false,
        'togglescreen':false,
        'splchars':false,
    }