[pLog-svn] r7037 - plog/branches/lifetype-1.2/js/tinymce
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Sep 22 13:04:29 EDT 2010
Author: jondaley
Date: 2010-09-22 13:04:29 -0400 (Wed, 22 Sep 2010)
New Revision: 7037
Modified:
plog/branches/lifetype-1.2/js/tinymce/tiny_mce-plog.js
Log:
use a global variable, so you don't have to edit both hard-coded lists. rearranged buttons so they work on a smaller screen
Modified: plog/branches/lifetype-1.2/js/tinymce/tiny_mce-plog.js
===================================================================
--- plog/branches/lifetype-1.2/js/tinymce/tiny_mce-plog.js 2010-09-22 17:03:57 UTC (rev 7036)
+++ plog/branches/lifetype-1.2/js/tinymce/tiny_mce-plog.js 2010-09-22 17:04:29 UTC (rev 7037)
@@ -1,6 +1,8 @@
+tinymce_plugins="more,advhr,advimage,advlink,emotions,inlinepopups,insertdatetime,media,searchreplace,paste,fullscreen,nonbreaking,wordcount,advlist,autosave";
+
tinyMCE_GZ.init({
// user-defined plugins and themes should be identical to those in "tinyMCE.init" below.-->
- plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave",
+ plugins : tinymce_plugins,
themes : 'advanced',
languages : 'en',
disk_cache : false,
@@ -13,12 +15,12 @@
mode : "exact",
elements : "postText,postExtendedText",
theme : "advanced",
- plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave",
+ plugins : tinymce_plugins,
// Theme options
- theme_advanced_buttons1: "formatselect,fontsizeselect,fontselect,forecolor,backcolor,bold,italic,underline,strikethrough,sub,sup,|,justifyleft,justifycenter,justifyright,justifyfull,|,cleanup,removeformat",
- theme_advanced_buttons2: "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,indent,outdent,blockquote,|,undo,redo,|,link,unlink,anchor,|,hr,advhr,charmap,insertdate,inserttime,nonbreaking,|,fullscreen",
- theme_advanced_buttons3 : "emotions,image,insertresource,insertvideo,insertaudio,media,|,code,pagebreak",
+ theme_advanced_buttons1: "formatselect,fontsizeselect,fontselect,forecolor,backcolor,bold,italic,underline,strikethrough,sub,sup,|,justifyleft,justifycenter,justifyright,justifyfull",
+ theme_advanced_buttons2: "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,indent,outdent,blockquote,|,undo,redo,|,hr,advhr,charmap,insertdate,inserttime,nonbreaking,|,fullscreen",
+ theme_advanced_buttons3 : "link,unlink,anchor,|,emotions,image,insertresource,insertvideo,insertaudio,media,|,code,more,|,cleanup,removeformat",
theme_advanced_buttons4 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
More information about the pLog-svn
mailing list