2015-09-27 62 views
2

我似乎無法得到imagetools插件加載TinyMCE 4.2.5。我已經下載了TinyMCE 4.2.5並將其安裝在我的根站點/tinymce中。TinyMCE圖像工具不工作

這裏是我的代碼:

<script src="~/tinymce/tinymce.min.js"></script> 

<script type="text/javascript"> 

    tinymce.init({ 
     selector: "textarea", 
     theme: "modern", 
     plugins: [ 
      "advlist autolink lists link image charmap print preview hr anchor pagebreak", 
      "searchreplace wordcount visualblocks visualchars code fullscreen", 
      "insertdatetime media nonbreaking save table contextmenu directionality", 
      "emoticons template paste textcolor colorpicker textpattern imagetools" 
     ], 
     toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image", 
     toolbar2: "print preview media | forecolor backcolor emoticons", 
     image_advtab: true, 
     templates: [ 
      { title: 'Test template 1', content: 'Test 1' }, 
      { title: 'Test template 2', content: 'Test 2' } 
     ] 
    }); 

</script> 

然而,當我將圖像粘貼到編輯器,點擊它,沒有圖像的工具。我已驗證plugins目錄中存在imagetools插件,並且在編輯器加載時瀏覽器控制檯中沒有錯誤。這就像功能簡單地被禁用。

我也試過4.2.5。我已經嘗試過使用Firefox和Chrome。它根本不起作用。

這是它應該做的事:

http://ephox.com/resources/blog/tinymce-4.2-released#.Vgg9cJeTQ0w

+0

你可以提供一個更新的鏈接? - 404ing – JGilmartin

回答