TinyMCE: use inlinepopups mode, so linking dialog appears as a lightbox instead of a separate browser window (which may trigger popup blockers, plays very poorly with fullscreen netbook UIs, and is generally annoying)

This commit is contained in:
Brion Vibber 2010-08-11 12:49:02 -07:00
parent 771928c6e9
commit d832b46573

View File

@ -137,7 +137,7 @@ class TinyMCEPlugin extends Plugin
script_url : '{$path}', script_url : '{$path}',
// General options // General options
theme : "advanced", theme : "advanced",
plugins : "paste,fullscreen,autoresize", plugins : "paste,fullscreen,autoresize,inlinepopups",
theme_advanced_buttons1 : "bold,italic,strikethrough,|,undo,redo,|,link,unlink,image,|,fullscreen", theme_advanced_buttons1 : "bold,italic,strikethrough,|,undo,redo,|,link,unlink,image,|,fullscreen",
theme_advanced_buttons2 : "", theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "", theme_advanced_buttons3 : "",