Author: pyaschenko
Date: 2009-04-06 06:58:35 -0400 (Mon, 06 Apr 2009)
New Revision: 13386
Modified:
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
Log:
https://jira.jboss.org/jira/browse/RF-6640
Modified:
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
===================================================================
---
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2009-04-06
10:56:30 UTC (rev 13385)
+++
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2009-04-06
10:58:35 UTC (rev 13386)
@@ -107,16 +107,10 @@
synchronizeConfiguration: function(){
if(this.params.useSeamText){
- this.tinyparams.plugins = Richfaces.Editor.SeamTextConfiguration.plugins;
+ //this.tinyparams.plugins = Richfaces.Editor.SeamTextConfiguration.plugins;
this.tinyparams.convert_fonts_to_spans = false;
this.tinyparams.inline_styles = false;
this.tinyparams.verify_html = false;
-
- //this.tinyparams.trim_span_elements = false;
- //this.tinyparams.theme_advanced_buttons1 =
Richfaces.Editor.SeamTextConfiguration.theme_advanced_buttons1;
- //this.tinyparams.theme_advanced_buttons2 =
Richfaces.Editor.SeamTextConfiguration.theme_advanced_buttons2;
- //this.tinyparams.theme_advanced_buttons3 =
Richfaces.Editor.SeamTextConfiguration.theme_advanced_buttons3;
- //this.tinyparams.theme_advanced_buttons4 =
Richfaces.Editor.SeamTextConfiguration.theme_advanced_buttons4;
}
},
@@ -181,14 +175,4 @@
this.tinyparams.plugins = plugins;
}
});
-
-Richfaces.Editor.SeamTextConfiguration = {
- plugins :
"safari,spellchecker,style,table,save,advhr,advimage,advlink,iespell,inlinepopups,insertdatetime,preview,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template"
-
- // Theme options
- //theme_advanced_buttons1 :
"save,newdocument,|,bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,|,cut,copy,paste,pastetext,pasteword",
- //theme_advanced_buttons2 :
"search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
- //theme_advanced_buttons3 :
"tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,iespell,advhr,|,print,|,ltr,rtl,|,fullscreen",
- //theme_advanced_buttons4 :
"styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote"
-}
\ No newline at end of file