2017-01-19 27 views
3

Froalaはいくつかのボタン(ビデオ、画像、テーブルなど)を表示したくないのですが、今はその理由がありません。たぶん私はいくつかのスクリプトを追加することを忘れている? この私のオプション:いくつかのツールバーボタンが表示されていません

public tb = [ 
     "bold", "italic" , "insertTable","insertImage"]; 
public options: Object = { 
    placeholderText: 'Edit Your Content Here!', 
    toolbarInline: false, 
    toolbarButtons: this.tb, 
     toolbarButtonsMD: this.tb, 
     toolbarButtonsSM: this.tb, 
     toolbarButtonsXS: this.tb 
} 

このマイスクリプト:

<script src="http://code.jquery.com/jquery-1.9.0.js"></script> 
    <script src="http://code.jquery.com/jquery-migrate-1.2.1.js"></script> 
    <script src="bower_components/froala-wysiwyg-editor/js/froala_editor.min.js"></script> 
<script src="bower_components/froala-wysiwyg-editor/js/plugins/image.min.js"></script> 
    <script src="bower_components/froala-wysiwyg-editor/js/plugins/image_manager.min.js"></script> 
<script src="bower_components/froala-wysiwyg-editor/js/plugins/video.min.js"></script> 

そして、私のクライアントはちょうど私がそれを修正することができますどのように、太字や斜体を示して?

enter image description here

答えて

1

あなたはまた、CSSの対応があることを確認してください。 plugins/image.min.css

のようにここで list

です
関連する問題