Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Any BBCode Editor Around?
Kushika
post Apr 10 2006, 06:40 PM
Post #1


Member [ Level 2 ]
Group Icon

Group: Members
Posts: 72
Joined: 3-February 06
From: UK
Member No.: 11,052



I'm running an online drawing script, which utilzes BBCode like on forums. I'd like to implement a free BBCode editor on some of the commenting text boxes. I'm looking for somethign that is free, lightweight and cross-browser compatible. I've searched and serach all over the internet but I am unble to find anything. I have php, mySQL access and I don't mind if the script uses javascript. I want something that works similar to the bbCode editor on vBulletin, if not, something that works like the bbCode 'inserter' on these forums.

Thanks in advanced.

P.S. I'm not looking for a WYSIWIG html editor, but for somethign that outputs BB code tags instead.
Go to the top of the page
 
+Quote Post
Hercco
post Apr 11 2006, 08:28 PM
Post #2


Super Member
Group Icon

Group: Members
Posts: 595
Joined: 4-September 04
Member No.: 228



Easiest way to do this is by "stealing" the code from other software. Go to a website running a phpBB forums (it's open source) go to a posting page and click View|Page Source.

For the "code inserter" you only need javascript and if you have at least some skills with it it should be no brainer to code it by your self. With javascript you can simply pull the contents of a textarea from a single variable (something like window.document.formname.textareaneme.value) and then do the what ever manipulations you need and again store the updated string to the same variable.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Music editor?(6)
  2. Wich web editor is best???(2)
  3. Good Text Html Editor(24)
  4. A Xml Editor?(6)
  5. Any Ideas About A Free Online Page Editor ?(7)
  6. HTML Editor(23)


 



- Lo-Fi Version Time is now: 8th October 2008 - 06:11 AM