Topic: Invalid attribute inserted by SimpleCMS

Hi, I'm stumbling upon a problem I've just noticed which makes our pages not XHTML 1.0 Transitional compliant.

When editing a simple paragraph, the next line is inserted

<span _fck_bookmark="1" style="display: none; ">&nbsp;</span></p>

Can somebody please explain why is this being inserted if it's not going to be displayed? I can't find any documentation on the "_fck_bookmark" attribute.

Thanks!

Re: Invalid attribute inserted by SimpleCMS

Hi, did you copy/paste any text into the editor from somewhere else, like Word or an Email? If you copy rich text from other applications this can copy over hidden styles/attributes which can produce unexpected HTML.

We are using CKEditor.com as our WYSIWYG editor of choice.

Does this happen every time you update that paragraph?

Re: Invalid attribute inserted by SimpleCMS

Actually, the problem seems to be because of the CKEditor, see the next threads:

http://cksource.com/forums/viewtopic.php?t=20154
http://cksource.com/forums/viewtopic.php?t=21199

Have you updated to the latest version? it seems to solve that specific problem as confirmed in those links.

Oh and answering your first question, I asked my client and yes, he pasted content from a Word document. Is there a way to filter invalid code?

Thanks for the quick response!

Re: Invalid attribute inserted by SimpleCMS

Hi Adavento, I'll check the version of CKEditor and upgrade it if it's not up to date.

I always like to use the "Paste Text" or "Paste from Word" buttons when pasting text into the editor instead from other programs. Those buttons will filter out the unwanted styles that can be copied across.

Re: Invalid attribute inserted by SimpleCMS

Just to let you know - we have updated CKEditor to the latest version. Let us know if you are still getting unwanted attributes.

Re: Invalid attribute inserted by SimpleCMS

my site http://www.indien-wildlife.de/SDTEST/  working properly in  chrome. but it is not working in mozila any solution plzzz

Re: Invalid attribute inserted by SimpleCMS

getting problem broken images :(

Re: Invalid attribute inserted by SimpleCMS

This isn't a problem with the system, you need to reference your images properly on your test site like you have on the main site.

For example, this is a broken image: http://www.indien-wildlife.de/SDTEST/images/logo.gif
whereas this is not: http://www.indien-wildlife.de/images/logo.gif

SimpleCMS is good, but it's not magic ;)

Re: Invalid attribute inserted by SimpleCMS

hey thank you i gt idea :D
simplecms is best :D
can  we edit css file?

Last edited by pratik (25 Jun 2012 11:57:46)

Re: Invalid attribute inserted by SimpleCMS

Yes, through the Source tab - good luck! :)