]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/jot-header.tpl
more logging on pubsub callbacks
[friendica.git] / view / theme / dispy / jot-header.tpl
index 5838729cc50c4431d6bb0eadf1b924da376152e8..dabe8bb3d0821d0f67ee0705a1a71ae52fac35e7 100644 (file)
@@ -24,8 +24,8 @@ function initEditor(cb) {
                        mode : "specific_textareas",
                        editor_selector: $editselect,
                        auto_focus: "profile-jot-text",
-                       plugins : "bbcode,paste,fullscreen,autoresize",
-                       theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen",
+                       plugins : "bbcode,paste,fullscreen,autoresize,inlinepopups,contextmenu,style",
+                       theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen,charmap",
                        theme_advanced_buttons2 : "",
                        theme_advanced_buttons3 : "",
                        theme_advanced_toolbar_location : "top",
@@ -42,6 +42,7 @@ function initEditor(cb) {
                        convert_urls: false,
                        content_css: "$baseurl/view/custom_tinymce.css",
                        theme_advanced_path : false,
+                       file_browser_callback : "fcFileBrowser",
                        setup : function(ed) {
                                cPopup = null;
                                ed.onKeyDown.add(function(ed,e) {
@@ -97,7 +98,6 @@ function initEditor(cb) {
                                        $(".jothidden").show();
                                        if (typeof cb!="undefined") cb();
                                });
-
                        }
                });
                editor = true;
@@ -154,8 +154,6 @@ function enableOnUser(){
                                }                                
                        }
                );
-
-
        });
 
        function deleteCheckedItems() {
@@ -344,6 +342,4 @@ function enableOnUser(){
                });
                $('#profile-jot-text').keyup();
        }
-
 </script>
-