我正在使用Wiris和Tinymce。繼INSTALLATION INSTRUCTIONS: WIRIS PLUGIN FOR TINYMCE 教程,我不能走一步看超過4如何在Tinymce中加載Wiris插件4
我每次加載插件tiny_mce_wiris_formulaEditor,tiny_mce_wiris_formulaEditorChemistry和tiny_mce_wiris_CAS,TinyMCE的文本編輯器就不再出現。
這裏是我的代碼示例
<script src="{{asset('assets/js/tinymce/plugins/tiny_mce_wiris/editor_plugin.js')}}"></script>
<script src="{{asset('assets/js/tinymce/tinymce.min.js')}}"></script>
<script>
tinymce.init({
selector: 'textarea',
plugins: "image imagetools tiny_mce_wiris_formulaEditor tiny_mce_wiris_formulaEditorChemistry tiny_mce_wiris_CAS"
});
</script>
我想知道正確的方式來給它。
這是我在我的JavaScript控制檯
"NetworkError: 404 Not Found - .../assets/js/tinymce/plugins/tiny_mce_wiris_formulaEditor/plugin.min.js"
"NetworkError: 404 Not Found - .../assets/js/tinymce/plugins/tiny_mce_wiris_CAS/plugin.min.js"
"NetworkError: 404 Not Found - .../assets/js/tinymce/plugins/tiny_mce_wiris_formulaEditorChemistry/plugin.min.js"
您在瀏覽器的JavaScript控制檯中看到了什麼?我懷疑你會在試圖加載Wiris插件JavaScript文件的編輯器中發現錯誤。 –