hi,
i have problems with some characters... like < , > , & for example..
i ve editted fckeditorcode_gecko_1.js , fckeditorcode_ie_1.js inFCKeditor\editor\js and fckxhtmlentities.js in
FCKeditor\editor\_source\internals. Some of the characters returned to normal. But the ones like < , > , & are still viewed strange..
How can fix this problem ( ive searched the whole forum but could not find the solution)
thank you
i have problems with some characters... like < , > , & for example..
i ve editted fckeditorcode_gecko_1.js , fckeditorcode_ie_1.js inFCKeditor\editor\js and fckxhtmlentities.js in
FCKeditor\editor\_source\internals. Some of the characters returned to normal. But the ones like < , > , & are still viewed strange..
How can fix this problem ( ive searched the whole forum but could not find the solution)
thank you
RE: how to stop character replacement
RE: how to stop character replacement
Do your pages work if you use just a textarea instead of FCKeditor? can you try then the replacement method to use the editor?
RE: how to stop character replacement
I use fck editor integrated with news posting script.
In my pages if i use textarea there is no problem with characters, but when i use fck editor to post a news, it automatically repaces some characters like < , > , & vs...
I want to disable this feature of fck editor...
"can you try then the replacement method to use the editor?"
What is the replacement method?
RE: how to stop character replacement
'"':'quot',
// '&':'amp', // This entity is automatically handled by the XHTML parser.
// '<':'lt', // This entity is automatically handled by the XHTML parser.
// '>':'gt', // This entity is automatically handled by the XHTML parser.
So if delete these lines it is still not viewed correctly.
">" is viewd as a strange characters...
how can i disable this thing...
what is xhtml parser, couldnt i change the way it works for these characters that can not be viewed correctly on my page?
thank you again
RE: how to stop character replacement
I think that alfonsoml means that if your replacement method (server side) after posting from an ordinary textarea, why dont use the same replace when posted from this editor?
XHTML parser: I think all replacement is done in a file, and this is the name.
Is this where you found the lines that you deleted?
Johnny
RE: how to stop character replacement
i editted that file for most characters.
in that file it is written that "This entity is automatically handled by the XHTML parser." for the < , > , & chracters so they are still not shown correctly on my page after posting.
PS: If i use an empty html file with just < > & characters they are show correctly.