Merge pull request #250 from simonlnu/master
tweak drop-down and add in filebrowser
This commit is contained in:
commit
51967edfe8
4 changed files with 5 additions and 4 deletions
|
@ -24,7 +24,7 @@ function initEditor(cb) {
|
||||||
mode : "specific_textareas",
|
mode : "specific_textareas",
|
||||||
editor_selector: $editselect,
|
editor_selector: $editselect,
|
||||||
auto_focus: "profile-jot-text",
|
auto_focus: "profile-jot-text",
|
||||||
plugins : "bbcode,paste,fullscreen,autoresize",
|
plugins : "bbcode,paste,fullscreen,autoresize,inlinepopups",
|
||||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen",
|
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen",
|
||||||
theme_advanced_buttons2 : "",
|
theme_advanced_buttons2 : "",
|
||||||
theme_advanced_buttons3 : "",
|
theme_advanced_buttons3 : "",
|
||||||
|
@ -42,6 +42,7 @@ function initEditor(cb) {
|
||||||
convert_urls: false,
|
convert_urls: false,
|
||||||
content_css: "$baseurl/view/custom_tinymce.css",
|
content_css: "$baseurl/view/custom_tinymce.css",
|
||||||
theme_advanced_path : false,
|
theme_advanced_path : false,
|
||||||
|
file_browser_callback : "fcFileBrowser",
|
||||||
setup : function(ed) {
|
setup : function(ed) {
|
||||||
cPopup = null;
|
cPopup = null;
|
||||||
ed.onKeyDown.add(function(ed,e) {
|
ed.onKeyDown.add(function(ed,e) {
|
||||||
|
|
|
@ -476,7 +476,6 @@ div.jGrowl div.info {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
#nav-notifications-menu li {
|
#nav-notifications-menu li {
|
||||||
padding: 7px 0px 7px 10px;
|
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
border-bottom: 1px solid #000;
|
border-bottom: 1px solid #000;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ function initEditor(cb) {
|
||||||
mode : "specific_textareas",
|
mode : "specific_textareas",
|
||||||
editor_selector: $editselect,
|
editor_selector: $editselect,
|
||||||
auto_focus: "profile-jot-text",
|
auto_focus: "profile-jot-text",
|
||||||
plugins : "bbcode,paste,fullscreen,autoresize",
|
plugins : "bbcode,paste,fullscreen,autoresize,inlinepopups",
|
||||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen",
|
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen",
|
||||||
theme_advanced_buttons2 : "",
|
theme_advanced_buttons2 : "",
|
||||||
theme_advanced_buttons3 : "",
|
theme_advanced_buttons3 : "",
|
||||||
|
@ -42,6 +42,7 @@ function initEditor(cb) {
|
||||||
convert_urls: false,
|
convert_urls: false,
|
||||||
content_css: "$baseurl/view/custom_tinymce.css",
|
content_css: "$baseurl/view/custom_tinymce.css",
|
||||||
theme_advanced_path : false,
|
theme_advanced_path : false,
|
||||||
|
file_browser_callback : "fcFileBrowser",
|
||||||
setup : function(ed) {
|
setup : function(ed) {
|
||||||
cPopup = null;
|
cPopup = null;
|
||||||
ed.onKeyDown.add(function(ed,e) {
|
ed.onKeyDown.add(function(ed,e) {
|
||||||
|
|
|
@ -79,6 +79,7 @@ option {
|
||||||
background: #e8e8e8;
|
background: #e8e8e8;
|
||||||
}
|
}
|
||||||
option[selected="selected"] {
|
option[selected="selected"] {
|
||||||
|
color: #111;
|
||||||
background: #cca;
|
background: #cca;
|
||||||
}
|
}
|
||||||
ul, ol {
|
ul, ol {
|
||||||
|
@ -476,7 +477,6 @@ div.jGrowl div.info {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
#nav-notifications-menu li {
|
#nav-notifications-menu li {
|
||||||
padding: 7px 0px 7px 10px;
|
|
||||||
word-wrap: normal;
|
word-wrap: normal;
|
||||||
border-bottom: 1px solid #000;
|
border-bottom: 1px solid #000;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue