Hi there,
I'm having a couple of issues with the Full-featured RAD editor for MOSS. I am inserting snippets of the relevant files here for further info.
Firstly, the 'Apply CSS Class' dropdown is enabled, however the list is empty, except for 'Clear Styles' and northing I do seems to populate this list.
Secondly, when editing a page (using WCM publishing site) I can change the paragraph style etc using the dropdowns, however it doesn't update the wysiwyg viewer - the text stays the same. (Unless I remove all my custom headings etc and use the default, which defeats the purpose)
Thirdly, as soon as I save the page, it strips all custom styles out of the page (see below)
Any help would be appreciated.
**Before saving**
<p><nh1>Annual Reports </nh1></p>
**After saving**
<p><nh1 />Annual Reports </p>
**ConfigFile.xml**
<property name="CssFiles">
<item>/_wpresources/RadEditorSharePoint/4.5.0.0__1f131a624888eeed/RadControls/Editor/CssEditor.css</item>
</property>
**Toolsfile.xml**
</tools>
<paragraphs>
<paragraph name="<nh1>Heading 1</nh1>" value="<nh1>" />
<paragraph name="<nh2>Heading 2</nh2>" value="<nh2>" />
<paragraph name="<nh3>Heading 3</nh3>" value="<nh3>" />
</paragraphs>
**CssEditor.css**
nh1
{
font-family: Verdana;
font-weight: bold;
font-size: 12pt;
background: transparent;
color: #000066;
}
nh2
{
font-family: Verdana;
font-weight: bold;
font-size: 11pt;
background: transparent;
color: #000066;
}
nh3
{
font-family: Verdana;
font-weight: bold;
font-size: 10pt;
background: transparent;
color: #000066; /* dark blue */
}
I'm having a couple of issues with the Full-featured RAD editor for MOSS. I am inserting snippets of the relevant files here for further info.
Firstly, the 'Apply CSS Class' dropdown is enabled, however the list is empty, except for 'Clear Styles' and northing I do seems to populate this list.
Secondly, when editing a page (using WCM publishing site) I can change the paragraph style etc using the dropdowns, however it doesn't update the wysiwyg viewer - the text stays the same. (Unless I remove all my custom headings etc and use the default, which defeats the purpose)
Thirdly, as soon as I save the page, it strips all custom styles out of the page (see below)
Any help would be appreciated.
**Before saving**
<p><nh1>Annual Reports </nh1></p>
**After saving**
<p><nh1 />Annual Reports </p>
**ConfigFile.xml**
<property name="CssFiles">
<item>/_wpresources/RadEditorSharePoint/4.5.0.0__1f131a624888eeed/RadControls/Editor/CssEditor.css</item>
</property>
**Toolsfile.xml**
</tools>
<paragraphs>
<paragraph name="<nh1>Heading 1</nh1>" value="<nh1>" />
<paragraph name="<nh2>Heading 2</nh2>" value="<nh2>" />
<paragraph name="<nh3>Heading 3</nh3>" value="<nh3>" />
</paragraphs>
**CssEditor.css**
nh1
{
font-family: Verdana;
font-weight: bold;
font-size: 12pt;
background: transparent;
color: #000066;
}
nh2
{
font-family: Verdana;
font-weight: bold;
font-size: 11pt;
background: transparent;
color: #000066;
}
nh3
{
font-family: Verdana;
font-weight: bold;
font-size: 10pt;
background: transparent;
color: #000066; /* dark blue */
}