Post by Blackbird » Sun Feb 15, 2009 6:25 pm

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?

Newbie

Posts

Joined
Thu Feb 12, 2009 2:19 am

Post by CChris » Sun Feb 15, 2009 6:52 pm

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...

New member

Posts

Joined
Tue Feb 10, 2009 8:36 am

Post by Blackbird » Sun Feb 15, 2009 8:22 pm

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.

Newbie

Posts

Joined
Thu Feb 12, 2009 2:19 am

Post by Daniel » Sun Feb 15, 2009 8:47 pm

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.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: stefansmith129 and 196 guests