2016-10-10 4 views
1
<script> 
    $(function() { 
     $('textarea#froala-editor').froalaEditor({ 
      toolbarInline: false, 
      toolbarButtons: [ 'bold', 'italic', 'underline', 'strikeThrough', 'subscript', 'superscript', '-', 'paragraphFormat', 'align', 'formatOL', 'formatUL'], 
      toolbarVisibleWithoutSelection: true 
     }) 
    }); 
</script> 

Es erscheint nur die Textarea ohne die Symbolleiste.Froala WYISWYG-Editor zeigt die Symbolleiste nicht

Antwort

0

Ich glaube, wenn Sie die toolbarInline und toolbarVisibleWithoutSelection Optionen entfernen, werden Sie in Ordnung sein.

auch gibt es eine Funktion selector.froalaEditor ('toolbar.show')

Verwandte Themen