You are not logged in.
I've configured my formatblock to following:
xinha_config.formatblock =
{
"— format —": "",
"Normal" : "div"
};
When I select the Normal Format form the dropdownfield the editor interprets the returnbutton as div (\n). That's what I want :-)
But when the editor starts and i've don't selected a format from the dropdownfield, the editor makes a p instead of div (\n).
What do I need to change so that the editor starts always with div instead of p?
Offline
you need to change some of the actual code in the modules folder for that - though I don't recommend it as p is the correct markup for paragraphs of text - div's should only be used as a wrapper if required.
If you're changing p to div because of the p giving a margin I would instead recommend changing the styling to accommodate this
David G. Paul
[url]http://www.newearthonline.co.uk[/url]
Offline