another "style" question
Hello, I just want knw if are possible to get the class style in style dropdown menu without define in a xml file, just load from a css file because if I use the xml file i get the code like this sample:
<div style="border: solid 1px #000000;">text</div>
my goal is:
<div class="border1">text</div>
I can this option in the configuration ?
My configuration is:
// Custom configuration for iRite
FCKConfig.SkinPath = 'skins/silver/'; // relative to fckeditor/editor/fckeditor.html
FCKConfig.DocType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
FCKConfig.AutoDetectLanguage = false;
FCKConfig.DefaultLanguage = 'en';
FCKConfig.StartupFocus = false;
FCKConfig.FullPage = false;
FCKConfig.BaseHref = '';
FCKConfig.DefaultLinkTarget = '_blank';
FCKConfig.ToolbarSets["Custom"] = [
['Source','DocProps','-','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['FitWindow','-','About']
]; /* Toolbar end */
FCKConfig.ForceStrongEm = false;
FCKConfig.FormatIndentator = ' ';
FCKConfig.EnterMode = 'p';
FCKConfig.FillEmptyBlocks = true;
FCKConfig.FormatOutput = true;
FCKConfig.FormatSource = true;
FCKConfig.IncludeGreekEntities = false;
FCKConfig.IncludeLatinEntities = false;
FCKConfig.ProcessHTMLEntities = false;
FCKConfig.ProcessNumericEntities = false;
FCKConfig.AdditionalNumericEntities = '';
FCKConfig.ForcePasteAsPlainText = false;
FCKConfig.CleanWordKeepsStructure = false;
FCKConfig.EditorAreaCSS = '../../css/screen.css'; // relative to fckeditor/editor/fckeditor.html
FCKConfig.BodyClass = 'editor';
FCKConfig.StylesXmlPath = ''; // relative to fckeditor/editor/fckeditor.html