samclarke / SCEditor-MyBB

Repository for the SCEditor MyBB plugin
12 stars 5 forks source link

sceditor is treating my href links as a text #66

Open wasyleque opened 9 years ago

wasyleque commented 9 years ago

Hello,

I`m making a little modification. I preg_replace a $post['message'] and replacing chosen words with a href link with target _blank and name of the word as a link.

Everythink is ok in db, but editor is changing the code to a simply text which displays in post.

I need effect like a adwords for example on my site.

So my question is where to look, i need to display those links (prefer admins only links) to display as i want (as _blank target links with name that i choose). I don`t want to change all the links on the page, only those which i need to display.)

p.s. Sorry if my english isnt well