Advanced HTML Editor Support Product Page
This topic is locked
This topic was archived
Editor background color
Asked 03 Feb 2004 23:57:38
1
has this question
03 Feb 2004 23:57:38 Paul Kramer posted:
Is it possible to provide a way to change the background color of the editor and the default text color??I am going to use it on a site with black pages and orange text so it would great to represent that in the editor.
Thanx so far a great product, needs a few enhancements like image and table property editing after the intial insert but so far so good.
TooTall
Replies
Replied 04 Feb 2004 00:14:06
04 Feb 2004 00:14:06 George Petrov replied:
the editor includes all the CSS styles from your page - so if you define a CSS style for your body and give it a blank background then it should be picked up in the editor as well
greetings,
George
--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFreaks.nl
--------------------------------------------------
greetings,
George
--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFreaks.nl
--------------------------------------------------
Replied 04 Feb 2004 04:26:27
04 Feb 2004 04:26:27 Bjorn Karlsen replied:
Hi, I have tested this, but it does not work on my site. I am using a dark olive bacground and have tables as mainpage with light background. If I add the HTMLEditor, it shows the main background that is Olive... and I cant figure out where to change that color to white... Why must it be like that?
Edited by - Dolg on 04 Feb 2004 04:27:46
Edited by - Dolg on 04 Feb 2004 04:27:46
Replied 04 Feb 2004 06:04:24
04 Feb 2004 06:04:24 Rick Curtis replied:
George, this really is something that must be fixed. I have the same issue with a blue background page and having that in the Editor will confuse users who will assume that their entry will also be blue. If you can't make the extension have a user-defined background color then I'd suggest that hard coding it white would be better.
Replied 04 Feb 2004 06:13:10
04 Feb 2004 06:13:10 Bjorn Karlsen replied:
I fixed the problem, by delete the BODY style section from all pages, and inserted the background color and topmargin and leftmargin to the <BODY> tag insted, and that did work.
Since this Behaviour is intended for DW MX 2004, then one should be aware... that it adds BODY colors etc via CSS instead of using the <BODY> tag by default.
Edited by - Dolg on 04 Feb 2004 06:14:04
Since this Behaviour is intended for DW MX 2004, then one should be aware... that it adds BODY colors etc via CSS instead of using the <BODY> tag by default.
Edited by - Dolg on 04 Feb 2004 06:14:04
Replied 04 Feb 2004 11:34:17
04 Feb 2004 11:34:17 George Petrov replied:
yes this is a bypass for the problem. In the next version we will definately add a option for selecting the background color.
Greetings,
George
--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFreaks.nl
--------------------------------------------------
Greetings,
George
--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFreaks.nl
--------------------------------------------------
Replied 10 Feb 2004 21:36:32
10 Feb 2004 21:36:32 Thomas Rydberg replied:
I did get this to work.
To set the background-color of the editor:
1) Open the AdvHTMLEdit.js file in notepad.
2) Search for "background-color"
3) Change the color value and save the AdvHTMLEdit.js file.
To assign a cascading style sheet to the editor:
1) Create a css file, for example: "editor.css"
2) Make sure you link to the css file in the header of the editor web page:
<head>
<link rel="stylesheet" type="text/css" href="editor.css">
</head>
- Tom
To set the background-color of the editor:
1) Open the AdvHTMLEdit.js file in notepad.
2) Search for "background-color"
3) Change the color value and save the AdvHTMLEdit.js file.
To assign a cascading style sheet to the editor:
1) Create a css file, for example: "editor.css"
2) Make sure you link to the css file in the header of the editor web page:
<head>
<link rel="stylesheet" type="text/css" href="editor.css">
</head>
- Tom
Replied 16 Feb 2004 15:09:24
16 Feb 2004 15:09:24 Patrick Woldberg replied:
It is always fine to see people come up with answers
.
--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
Replied 26 Feb 2004 21:25:29
26 Feb 2004 21:25:29 R M replied:
the Background color metod didnt work for me.. this is a problem. The box looks dark grey, the color of my background page.
And I CANT make a CSS just for this page because when people log in into the site they can choose how they want the website to look, so the CSS is choose dinamically.
Any ideas?
And I CANT make a CSS just for this page because when people log in into the site they can choose how they want the website to look, so the CSS is choose dinamically.
Any ideas?
Replied 27 Feb 2004 19:52:06
27 Feb 2004 19:52:06 R M replied:
This is really becoming a headache.. any way to disable the CSS feature on the editor so it doesnt read the CSS??

