Own "mycode" parser + SCEditor
#1
Recently I created for my forum a little plugin that adds some "mycodes". But there's so much trouble with getting it to work that I need your help. 

I'm using two html tags to create image as download link for files, and here is everything okay, parsing is smooth and nothing breaks until... Until I wanted to add this mycode to SCEditor. I added it to work, but how I can block parsing other mycodes? I'm using html "a" and "img" tags and they're automatically converted to url and img mycodes...
Reply
#2
use regular expresions to parse your codes to only take your parts of code.
The only infinite thing is the universe and human stupidity, but the universe is not for sure

Plugins 1.6.x

Plugins 1.8.x

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)