aboutsummaryrefslogtreecommitdiffstats
path: root/tinymce
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-08 21:26:28 -0800
committerFriendika <info@friendika.com>2011-02-08 21:26:28 -0800
commit5899ae9017c351b9987868871605f3f2324c62c0 (patch)
tree376d540bb319d74d734cdadcd096b0fbb8ad5767 /tinymce
parent6b8bbef6c795fcf73c7c7271decf0f0bfed158c7 (diff)
downloadvolse-hubzilla-5899ae9017c351b9987868871605f3f2324c62c0.tar.gz
volse-hubzilla-5899ae9017c351b9987868871605f3f2324c62c0.tar.bz2
volse-hubzilla-5899ae9017c351b9987868871605f3f2324c62c0.zip
Support bbcode size tag - I may regret this...
Diffstat (limited to 'tinymce')
-rw-r--r--tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js b/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js
index ebccfb311..aad83280d 100644
--- a/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js
+++ b/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js
@@ -103,7 +103,7 @@
rep(/\[img=(.*?)x(.*?)\](.*?)\[\/img\]/gi,"<img width=\"$1\" height=\"$2\" src=\"$3\" />");
rep(/\[img\](.*?)\[\/img\]/gi,"<img src=\"$1\" />");
rep(/\[color=(.*?)\](.*?)\[\/color\]/gi,"<span style=\"color: $1;\">$2</span>");
-// rep(/\[\/code\]\s*\[code\]/gi,"<br />"); // fold multiline code
+ rep(/\[size=(.*?)\](.*?)\[\/size\]/gi,"<span style=\"font-size: $1;\">$2</span>");
rep(/\[code\](.*?)\[\/code\]/gi,"<code>$1</code>");
rep(/\[quote.*?\](.*?)\[\/quote\]/gi,"<blockquote>$1</blockquote>");