close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

HTML Editor will not load CSS

Thread began 1/29/2010 3:56 am by miller06233982 | Last modified 1/30/2010 10:31 am by miller06233982 | 1850 views | 10 replies

neilo

Hiya,

I did have a problem with this, but only because I was adding the styles to the HTML Editor which was in a sub-directory (PowerCMS). The styles (classes) that I added showed up in the 'Styling' tab but weren't available when I transferred the HTMLEditor/custom insert/update files (2 x .js & 2 x .xml) and the pages that contained the HTMLEditor instances.

That was because the HTMLEditor GUI was creating/updating the 'custom' .js & .xml files in a new folder in the root directory.

To be on the safe and certain side, I duplicated my site definition and set the root local and testing sites to be my CMS folder. I re-did the HTML Ed Styling tab > locate my css file again and it updated the right files. I did have to do this for all instances of HTML Editor though.

Check that the .js file(s) in your HTMLEditor/custom folder have had the link to your stylesheet added, i.e:

FCKConfig.EditorAreaCSS = '../../css/yourstylesheet.css'; // relative to fckeditor/editor/fckeditor.html


Check that the classes have been written to your HTMLEditor/custom folder xml file(s) like:

<?xml version="1.0" encoding="utf-8" ?>
<Styles>
<Style name="headerbar" element="span" >
<Attribute name="class" value="headerbar" />
</Style>
<Style name="sidebardk" element="span" >
<Attribute name="class" value="sidebardk" />
</Style>
<Style name="sidebarlt" element="span" >
<Attribute name="class" value="sidebarlt" />
</Style>

etc.



And check that the HTMLEditor/custom javascript and xml files have been uploaded to your remote server.

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...