Hi,
I am using FCK in a CMS and everytime an edit is made with FCK and submitted it adds a piece of style info.....each time an edit is submitted it adds another block of code....
Does anybody know why?
Here is the style info that gets added each time.
Thanks,
Glen
I am using FCK in a CMS and everytime an edit is made with FCK and submitted it adds a piece of style info.....each time an edit is submitted it adds another block of code....
Does anybody know why?
Here is the style info that gets added each time.
<style type="text/css">span.fon_container{ height:15px !important; white-space: nowrap !important; } span.fon_flag{ background: url(chrome://fon/skin/mflag.gif) no-repeat right; height:15px !important; padding:0px 0px 2px 5px !important; cursor: pointer; } span.fon_noflag{ background: url(images/mflag.gif) no-repeat left; height:15px !important; padding:0px 0px 2px 5px !important; cursor: pointer; } span.fon_flag_a{ background-image: url(chrome://fon/skin/mflag_a.gif); } img.fon_flag { margin-bottom:2px !important; vertical-align: middle !important; } span.fon_phone { background: url(chrome://fon/skin/mmid.gif) repeat-x center; height:15px !important; padding:0px 2px 2px 2px !important; cursor: pointer; } span.fon_phone_a { background-image: url(chrome://fon/skin/mmid_a.gif); } span.fon_phone_inner { color: black !important; text-decoration: none !important; font-family: Verdana !important; font-size: 11px !important; font-weight: bold !important; } span.fon_arrow { background: url(chrome://fon/skin/marrow.gif) no-repeat left; display: inline !important; height:15px !important; padding:0px 10px 2px 0px !important; } span.fon_arrow_a { background-image: url(chrome://fon/skin/marrow_a.gif); } </style>
Thanks,
Glen
Re: style info added during editing
But I find myself questioning fckeditor.
I too am using fck inside a small cms. The idea was to use
Smarty Template and fckeditor to make a website the office staff could update.
But the font tags the office staff keep putting into the html play havoc
with my background css styling.
I'm beginning to think we need to somehow do less html-font formatting in fck
and then have a way to make fck (or a new derivation) work as a menu-driven
css editor, rather than an html editor.
css2 div positioning and resizing would be tricky. Maybe drag and drop could be made to
work. But fonts, colors, backgrounds, borders, padding and margins wouldn't be
all that hard to control.
I know I could do this with GWT widgets. Has anybody thought about morphing
fckeditor into a stylesheet editor?