Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2008-11-20 11:59:46

pari
New member
Registered: 2008-11-20
Posts: 3

Not converting tags to html entities when pasting text.

Hello everyone,

I need a simple thing, yet couldn't find it in config options and looking through GetHTML module without solid js knowledge doesn't help.
What I need is, that when a user pastes something like "<a href=...><img src=....></a>"  or simply "<img src=...>" in the editor, the tags wouldn't be replaced to < >. I know he/she can press button "paste as plain text" (with line 24 and 25 commented in plugin code)  or "insert image", but I want it like that - simply enter the text, and the <img> and <a> tags are there.
Maybe there's a way to add these tags to some "white list" or even disable < and > conversion to HTML entities?
Any ideas where should I start looking? smile

Thanks in advance!

Last edited by pari (2008-11-21 03:56:20)

Offline

#2 2008-11-21 05:46:16

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: Not converting tags to html entities when pasting text.

Going to HTML mode is no option?

Offline

#3 2008-11-21 05:58:50

pari
New member
Registered: 2008-11-20
Posts: 3

Re: Not converting tags to html entities when pasting text.

No, not really. The users aren't really keen on clicking on those scary icons. Therefore I need it to work by simply pasting the code they get from photo storage.

Offline

Board footer

Powered by FluxBB