alexgorbatchev/jquery-textext

Better integration with bootstrap style

Opened this issue · 3 comments

Hi excellent jquery plugin but... better integration with bootstrap styles needed.

<textarea id="textboxField02DialogEditor" sclass="form-control" rows="1" placeholder="" />

The result control look is very ugly.

$( '#textboxField02DialogEditor' ).textext( { plugins : 'arrow autocomplete' } ).bind( 'getSuggestions', function(e, data) { var list = [ 'Basic', 'Closure', 'Cobol', 'Delphi' ], textext = $(e.target).textext()[0], query = (data ? data.query : '') || ''; $(this).trigger( 'setSuggestions', { result : textext.itemManager().filter(list, query) } ); } );

yes, the plugin overrides the bootstrap style, but it works when i manually set the styles to the element.

i sorry i dont understant the style y set in textarea sclass="form-control" but this no show correct style

Maybe i missing something?