jquery - tinymce广告图片无法选择文件夹

标签 jquery tinymce

当我单击插入/编辑图像上的插入图像时,没有“从文件夹中选择”按钮。这是我的代码:

    $('textarea.tinymce').tinymce({
        // Location of TinyMCE script
        script_url : 'tinymce/tiny_mce.js',

        // General options
        language : "he",
        mode: "textareas",
        directionality : "rtl",
        theme : "advanced",
        plugins : "autolink,lists,table,advimage,advhr,inlinepopups,insertdatetime,preview,searchreplace,contextmenu,paste,directionality,noneditable,visualchars,xhtmlxtras,advlist,advimage,",

        // Theme options
        theme_advanced_buttons1 : "undo,redo,|,preview,|,search,replace,|,forecolor,backcolor,fontsizeselect,fontselect,|,strikethrough,underline,italic,bold",
        theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,bullist,numlist,|,cleanup,code,|,removeformat,sub,sup,styleprops,|,cite,link,unlink,image,charmap,iespell,hr,insertdate,inserttime,",
        theme_advanced_buttons3 : "tablecontrols,|,ltr,rtl,|,outdent,indent,|,justifyleft,justifycenter,justifyright,justifyfull,",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "right",
        theme_advanced_statusbar_location : "bottom",
    });

我需要做什么?

最佳答案

您必须集成图像管理器和/或文件管理器插件。

请参阅 the tinymce forum 中的这条启发性线索。 .

关于jquery - tinymce广告图片无法选择文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12533404/

相关文章:

jquery - 阻止 addClass 上的 CSS 过渡

css - 从 TinyMCE 元素符号点中删除样式

jquery - tinymce keyup 事件不会在 Tab 键上触发

javascript - 延迟后的 jQuery slideUp

javascript - 允许在使用 jQuery 循环时切换元素

jquery - 无法使用 jQuery 将值设置为数据属性

javascript - 为什么我在 php 中看到 html 标签使用tinymce textarea 作为输入?

python - TinyMCE 与 Django : "This field is required"

php - 防止 HTMLPurifier 和 DOMDocument 转换为 Â

javascript - Bootstrap 折叠 <table>