Page 1 of 1
can't use html tag in editor
Posted: Sun Feb 15, 2009 6:25 pm
by Blackbird
Everytime I want to insert an image or change the font color or anything which needs html tag in editor, when I click save only the plain text will display and in the line of the image \"\" appear.
in the Source of text editor (after save), all of the " will change to "\" and \"".
for example my image html code become like this:
so how can I fix this?
Re: can't use html tag in editor
Posted: Sun Feb 15, 2009 6:52 pm
by CChris
html is disabled in the editorr because of security issues...
if you will enable it, the shop became a hight security risk and its easy to hack it.
that's why html is disabled in messageboards at all...
For this case you have some buttons in your editor for inserting images...
Re: can't use html tag in editor
Posted: Sun Feb 15, 2009 8:22 pm
by Blackbird
CChris wrote:
For this case you have some buttons in your editor for inserting images...
I know, but the problem is I don't use html tag directly.
I'm using the editor buttons but they don't work and after save become like what I said above.
For test: try to insert an image in product description via fckeditor.
Re: can't use html tag in editor
Posted: Sun Feb 15, 2009 8:47 pm
by Daniel
You need to turn off magic quotes!
I can no loger strip them out with a function because i have found it plays havoc with windows servers.