Open ayyobro opened 9 years ago
Consider the following:
<div class="btn-toolbar" data-role="editor-toolbar" data-target="#editor"> <div class="btn-group"> <a class="btn btn-default" data-edit="bold"><i class="fa fa-bold"></i></a> <a class="btn btn-default" data-edit="insertunorderedlist" title="" data-original-title="Bullet list"><i class="fa fa-list-ul"></i></a> <a class="btn btn-default" data-edit="insertorderedlist" title="" data-original-title="Number list"><i class="fa fa-list-ol"></i></a> <a class="btn btn-default" data-edit="outdent" title="" data-original-title="Reduce indent (Shift+Tab)"><i class="fa fa-indent"></i></a> <a class="btn btn-default" data-edit="indent" title="" data-original-title="Indent (Tab)"><i class="fa fa-outdent"></i></a> </div> </div> <div id="editor"></div>
{{ HTML::script('js/bootstrap-wisyhtml5.js') }} //laravel 4.2 blade templating for resources <script> $('#editor').wysiwyg(); </script>
With this set up, the only buttons that work are the indentations, but not either of the lists or the Bold selections work..
Not sure what's wrong here?
Consider the following:
With this set up, the only buttons that work are the indentations, but not either of the lists or the Bold selections work..
Not sure what's wrong here?