close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Changing Background and Font Colors HTMLEditor Defaults

Thread began 1/27/2010 9:39 am by fire MUNKY (Roy) | Last modified 1/27/2010 4:51 pm by fire MUNKY (Roy) | 2171 views | 6 replies

fire MUNKY (Roy)


Hi Ray

I was thinking surely one can alter the code so that the BUILD created in the WIZARD allows for a CUSTOM background COLOR + Custom FONT Size and COLOR?
------------------If you can remove this - can you add others?------------------------
FCKConfig.CustomStyles =
'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } }

// Do not add, rename or remove styles here. Only apply definition changes.
FCKConfig.CoreStyles =

------------------If these are null can they be set to actual new defaults?--------------
// Other formatting features.
'FontFace' :
Element : 'span',
Styles : { 'font-family' : '#("Font")' },
Overrides : [ { Element : 'font', Attributes : { 'face' : null } } ]

'Size' :
Element : 'span',
Styles : { 'font-size' : '#("Size","fontSize")' },
Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]

'Color' :
Element : 'span',
Styles : { 'color' : '#("Color","color")' },
Overrides : [ { Element : 'font', Attributes : { 'color' : null } } ]

'BackColor' : { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } },

--------------------To me it would appear the solution must be here somewhere and a simple one at that surely?-----------

I do not want the client to set any styles.
The Containers on the Page all have the relevant CODE for this. I simply want them to be able to see what they have pretty much as it will appear. put in new or edited text and be able to layout the text and adding images with upload etc. All the styles are controlled from the page only the Body Content here is being updated to the database.

So I do not really want to start letting them have the Site Style sheet and then Trying to ADD all kinds of inappropriate stuff that ends up making a mess of the page.

In otherwords I just want the EDITOR to have a background and Font of similar color and size to the real Page so they get some idea of what they are doing and its looks something like it will on the actual page.

So you follow me?
So I have tried changing the fck_texteditor.css files to give a new background and this seems to work, except in IE but that doesnt matter because my clients use Firefox. Still it is annoying. The only issue I have now is that Font Size and Color is not being adopted.

I have yet also to sort out the Image Link as well. It seems like an awful lot of effort for something that I have working on another site using DMX Zone HTML Editor. I junked that because of its woeful Image tools, in favor of the HTML Editor 2 because all of my other extensions are WEB ASSIST in the main. So I really want to get this to work properly.

I hope you can help.

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





Ease of use


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