Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorstyles question... againstyles question... again
Previous
 
Next
New Post
11/28/2006 6:24 PM
 

I'm still trying to figure out how to limit the formatting/style options. (Using 1.0.7)

I created a seperate css file and seperate xml file, uploaded them to my root folder, and changed the settings to use them. The problem is that under the Style dropdown, it lists all the classes from my skin.css file.  ???

This is my custom htmlEditor.xml file:

<?xml version="1.0" encoding="utf-8" ?>
<Styles>
 <Style name="Image on Left" element="img">
  <Attribute name="style" value="padding: 5px; margin-right: 5px" />
  <Attribute name="border" value="2" />
  <Attribute name="align" value="left" />
 </Style>
 <Style name="Image on Right" element="img">
  <Attribute name="style" value="padding: 5px; margin-left: 5px" />
  <Attribute name="border" value="2" />
  <Attribute name="align" value="right" />
 </Style>
 <Style name="Normal Text" element="span">
  <Attribute name="class" value="normal" />
 </Style>
 <Style name="Normal Red Text" element="em" />
 <Style name="Title" element="span">
  <Attribute name="class" value="normalred" />
 </Style>
 <Style name="Head" element="span">
  <Attribute name="class" value="Head" />
 </Style>
 <Style name="SubHead" element="span">
  <Attribute name="class" value="SubHead" />
 </Style>
 <Style name="SubSubHead" element="span">
  <Attribute name="class" value="SubSubHead" />
 </Style>
 <Style name="Custom Ruler" element="hr">
  <Attribute name="size" value="1" />
  <Attribute name="color" value="#ff0000" />
 </Style>
</Styles>

Also, how/where do remove the font and size toolbar options?

Is there any dnn documentation for this provider, other than the generic FCK help file?

 
New Post
11/29/2006 7:41 PM
 

I am not sure of the answer to your styles question but Lopocon is. When he sees this I am sure he will reply.

As for the Font and size toolbar options, you can remove them from the menu in the fckconfig.js file that is located in the Custom directory of the provider.

If you are using the defined DnnDefault menu:
FCKConfig.ToolbarSets["DNNDefault"] = [
 ['Source','Preview','-','Templates'],
 ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
 ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
 ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
 ['OrderedList','UnorderedList','-','Outdent','Indent'],
 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
 ['Link','Unlink','Anchor'],
 ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
 ['Style','FontFormat'],
 ['FontName','FontSize'], <- Remove this line
 ['TextColor','BGColor'],
 ['FitWindow','-','About']
] ;

Currently there is no official documentation. We are looking for someone to work on that.


-Dan
 
New Post
11/30/2006 4:10 PM
 

Thanks for the reply. I'm confused on trying to get fck to be as wysiwyg as possible while limiting the options on the editor.

For instance, the normal font should be verdana 11px. Which you should see in the editor when you type. They should also have the option to make a head, subhead, and subsubhead. That's it for formatting (other than bold, italic, underline etc..). I'm trying to maintain style consistency on my website which is difficult when you have 20 content editors. If I can get this toll "locked down" then I wouldn't have to be the Style Master who makes everyone change thier content.

Sorry for the rant. Just wish it was more intuitive...

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorstyles question... againstyles question... again


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out