Registrarse | Entrar
martes, 22 de mayo de 2012
  Buscar
 Foros de discusión en Locopon's Minimizar
 
Forum / ForosForum / ForosDSFCKEditor Pro...DSFCKEditor Pro...FCKEditor Provi...FCKEditor Provi...Available Styles and Editor area CSSAvailable Styles and Editor area CSS
Anterior Anterior
 
Siguiente Siguiente
New Post
 18/01/2006 02:43 a.m.
 
Hello,

First off, many thanks for an excellent editor!

Please could you clarify how the 'Available Styles for the editor' and the 'Editor Area CSS' sections work?

I am currently doing some experiments with skins.

I can display a box around some text by applying a CSS style to the text. Can I display these CSS styles in the style drop down list?

I managed to get this to work by clicking on Dynamic, but it displayed lots of variations of the 'box' class among a large list of classes. - How do you apply filters to this list - Or how do you just specify the classes that are listed in your portal / page skin?

I don't quite understand how the editor area and style area works, could you provide any further information to help me get started?

Many Thanks
New Post
 16/02/2006 07:47 p.m.
 

bump

I'd like to hear a bit more about this as well.

New Post
 20/02/2006 06:10 a.m.
 
 Modificado por block  on 20/02/2006 06:11:23 a.m.

I have de same problem.

¿Can anyone help me? Please
New Post
 23/02/2006 07:07 a.m.
 

Hi, I just saw this thread.

One of the problems with .css styles were the ability to use the DNN styles, but then, the process of including the DNN .css made FCKEditor to load slower. So, I made is fully configurable by making a few options available to this.

 First, you need to know how styles are defined for your FCKEDitor. You can find more info about this here:

http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Styles

And then, with the FCKEDitor provider you have two options: one to include a list of defines styles in the FCKEditor dropdownlist that is named:

List of available styles for the editor

The you can set it to:

a) Static: Uses the default xml file from:

Providers\HtmlEditorProviders\DSFCKEditorProvider\FCK2\fckstyles.xml

b) Dynamic: Uses a dymanicaly created file from all DNN styles (Portal , Module, Skin, etc)

c) URL: You can specify a URL to your own .xml file

Note: When using dynamic, there were a lot of styles in the style files. So a filter field was created named dinamic styles filter. It uses a regular expresion to accomplish this. The default vaule for this reguslar expression is: "controlpanel|filemanager|mainmenu|wizard", and it is defined inside web.config. You can modify it to meet your needs by portal, module or instance using the filed under your FCKEditor custom options page.

The second piece is the "Editor area CSS ".

The intention is to make the css styles visible and active when editing using the FCKEditor. The available options are similar to the explained above.

 

New Post
 08/03/2006 07:21 a.m.
 
Hello,

Thanks for the info. - The styles drop down list is a really useful tool. - I've managed to set this up to call different classes by applying the styles using the static method and editing the Providers\HtmlEditorProviders\DSFCKEditorProvider\FCK2\fckstyles.xml file.

I am now trying to set FCKEditor to call up a .xml file from a URL so that I can specify different styles per portal.

I've set the Settings Type to 'Portal'
In
Style list generation mode: selected URL
I've then tried both methods of uploading a file & specifying a URL

Apply custom seetings to: is set to Portal & I click on Apply.

This doesn't set FCKEditor to use the new .xml file, it still uses the default styles.

Is there something I am missing here? Many thanks,
Anterior Anterior
 
Siguiente Siguiente
Forum / ForosForum / ForosDSFCKEditor Pro...DSFCKEditor Pro...FCKEditor Provi...FCKEditor Provi...Available Styles and Editor area CSSAvailable Styles and Editor area CSS