javascript - Config KCFinder in TinyMCE -


i'm using tinymce text field , need possible making image upload in it, , using kcfinder, problem when click in upload images , appears box in white : following initialization code tinymce (note : i'm programming in angular):

vm.tinymceoptions = {     resize: false,     height: 300,     menubar: false,     plugins: 'autolink link image preview fullscreen textcolor ',     toolbar: 'undo, redo | styleselect  | cut, copy, paste | bold, italic, underline, strikethrough | subscript, superscript | alignleft aligncenter alignright | link image | preview, forecolor',     file_browser_callback: function(field, url, type, win) {         tinymce.activeeditor.windowmanager.open({             file: 'app/template/plugin/kcfinder/browse.php?opener=tinymce4&field=' + field + '&type=' + type,             title: 'kcfinder - caminho atual: ',             width: 700,             height: 400,             inline: true,             close_previous: false         }, {             window: win,             input: field         });              return false;     } }; 

and that's appears when open image upload in tinymce :

enter image description here

config.php

// general settings

'disabled' => **true**, 'uploadurl' => "upload", 'uploaddir' => "", 'theme' => "default", 

change // general settings

'disabled' => **false**, 'uploadurl' => "upload", 'uploaddir' => "", 'theme' => "default", 

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -