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

툴바가없는 텍스트 영역이 나타납니다.Froala WYISWYG 편집기가 툴바를 표시하지 않습니다.

답변

0

toolbarInline 및 toolbarVisibleWithoutSelection 옵션을 제거하면 문제가 없습니다.

또한 selector.froalaEditor ('toolbar.show') 기능이 있습니다.

관련 문제