close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

another "style" question

Thread began 9/10/2009 7:58 am by info321189 | Last modified 9/15/2009 5:05 pm by Dani Chankhour | 2646 views | 4 replies |

info321189

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

Sign in to reply to this post

Dani Chankhour

You have iRite create the xml file for you. Basically create a test.css file and the class definition to it, for Example:

.border1 {
border-style:solid;
border-color:#063;
border-width:1px;
}

and then in iRite, click on the styling tab and browse for the test.css file and select the border1 class. After clicking OK and previewing the page you should see something like this:

<p><span class="border1">test</span></p>

when applying the class.

Sign in to reply to this post

info321189

Hello Dani, I try but in iRite the style menu is empty :-(

Sign in to reply to this post

info321189

Solved ! I reinstall iRite and now works fine !

Sign in to reply to this post

Dani Chankhour

I'm glad you were able to resolve this issue.


Please post back if you still have any other questions.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...