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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Excluding default styles from RadEditor ApplyCSS dropdown, DNN6.x.xExcluding default styles from RadEditor ApplyCSS dropdown, DNN6.x.x
Previous
 
Next
New Post
10/27/2011 5:28 AM
 
Hi,

Cathal Connelly's wiki post at:

 
explains how to add styles by referencing RadEditor.css but I need to find out how to exclude all the unwanted default css styles from the ApplyCSS dropdown. By default the RadEditor sweeps up all styles from default, portal, skin etc and lists them out in the dropdown cluttering it up with loads of styles which are, at best, confusing to the end user i.e mostly non--techy content editors.
 
With FCKEditor it was easy to filter out the unwanted styles by modifying a single line in the web.confg. Does anyone know how to
remove the unwanted default styles from the new v6 RadEditor ApplyCSS dropdown leaving only the styles the we want the end user to see?
Thanks in advance

Phil
 
New Post
10/30/2011 8:00 PM
 
Anyone figure this out?

I'm trying it the other way around - adding the styles to the Paragraphs drop-down with only luck on the H1-H6 styles
 
New Post
11/1/2011 12:31 PM
 
On further investigation I have uncovered the following...

The editor settings available via Host>HTML Editor Manager only apply when DotNetNuke.RadEditorProvider is selected via the same facility. The settings will make no difference if TelerikEditorProvider is selected.

So in the absence of any further documentation regarding DotNetNuke.RadEditorProvider, it seems we have the following cases:


DotNetNuke.RadEditorProvider
++ Appearance and toolbars can be controlled via Host>HTML Editor Manager
++ Portal and user specific configurations are supported
-- Apparently no way to control which end-user styles are selectable via the ApplyCSS dropdown


TelerikEditorProvider
+- Appearance and toolbars can be controlled via config files *
-- Portal and user specific configurations are not supported (except for ApplyCSS styles)
++ End-user styles (ApplyCSS) configurable via config files *


* see http://www.dotnetnuke.com/Resources/Forums/forumid/108/threadid/364908/scope/posts/threadpage/1.aspx


So currently, TelerikEditorProvider wins out for single portal installations (imho) because the ApplyCSS dropdown can be controlled.

Asboth editors are based on the Telerik provider (I believe), I'm sure there must be some way to control the styles that appear in the ApplyCSS dropdown of the DotNetNuke.RadEditorProvider. Does anyone have insight into this?

Phil
 
New Post
11/1/2011 2:18 PM
 
I wrote custom paragraph styles in the toolbar and it worked quite nice because I could eliminate the CSS dropdown that grabbed styles from all over the place. Here's the secret line:<br /> <br /> <paragraph name=" & lt;h4book class='h4book'>Heading 4 Book & lt;/h4book>" value=" & lt;span class='h4book'>" /><br /> <br /> <paragraph name="&lt;h4book class='h4book'>Heading 4 Book&lt;/h4book>" value="&lt;span class='h4book'>" /><br /> <br /> (if I can paste either of the lines into this post)
 
New Post
11/2/2011 6:12 AM
 
Thanks Daniel...what file are you modifying to edit/control the paragraph styles?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Excluding default styles from RadEditor ApplyCSS dropdown, DNN6.x.xExcluding default styles from RadEditor ApplyCSS dropdown, DNN6.x.x


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