summaryrefslogtreecommitdiff
path: root/plugins/TinyMCE/TinyMCEPlugin.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-08-11 13:38:09 -0700
committerBrion Vibber <brion@pobox.com>2010-08-11 13:38:09 -0700
commitc19696afecd98f225181c8a8a368712954d6dbd4 (patch)
tree17623eb19681368116d0bba075b09626872127b6 /plugins/TinyMCE/TinyMCEPlugin.php
parent8bc1ab436ad4ebe370ca97a7fa27a3acb290dc68 (diff)
TinyMCE: add Shane Tomlinson's linkautodetect plugin so typed URLs get linked for you, fitting expected user behavior better. (IE apparently already does this; plugin adds similar behavior for other browsers.)
Plugin source: http://sourceforge.net/tracker/?func=detail&aid=2770218&group_id=103281&atid=738747 Source JS compressed manually with jsmin. Note: the link detection doesn't match StatusNet's internal link detection right now. URLs with funky chars, especially like Wikipedia style ones, will often not automatically catch. (But you should still be able to manually link them.)
Diffstat (limited to 'plugins/TinyMCE/TinyMCEPlugin.php')
-rw-r--r--plugins/TinyMCE/TinyMCEPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TinyMCE/TinyMCEPlugin.php b/plugins/TinyMCE/TinyMCEPlugin.php
index d1756279b..9408e20c9 100644
--- a/plugins/TinyMCE/TinyMCEPlugin.php
+++ b/plugins/TinyMCE/TinyMCEPlugin.php
@@ -137,7 +137,7 @@ class TinyMCEPlugin extends Plugin
script_url : '{$path}',
// General options
theme : "advanced",
- plugins : "paste,fullscreen,autoresize,inlinepopups,tabfocus",
+ plugins : "paste,fullscreen,autoresize,inlinepopups,tabfocus,linkautodetect",
theme_advanced_buttons1 : "bold,italic,strikethrough,|,undo,redo,|,link,unlink,image,|,fullscreen",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",