Wysiwyg

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Jim_Bo
Forum Contributor
Posts: 390
Joined: Sat Oct 02, 2004 3:04 pm

Wysiwyg

Post by Jim_Bo »

Hi,

Does anyone kno where I can get basic Wysiwyg, All I want is Bold, Italic, Left Align, Right Align, Center really so I can add to text box as it does here at devnet when posting in threads so html can be easily added then I will run it thru BBcode.

Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

If you're running bbcode, you could just add the bbtags for it. [b], [i], [left], [right], [center],
Jim_Bo
Forum Contributor
Posts: 390
Joined: Sat Oct 02, 2004 3:04 pm

Post by Jim_Bo »

Hi,

Yer I could, but it is for an application within an admin panel for client .. It would be much simpler for them to control it via a simlar system as when you post in devnet.

The once I have seen are way to complex for the basuc functions needed.


Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

We don't use a wysiwyg text box, so I'm not sure what you're thinking we have.
Jim_Bo
Forum Contributor
Posts: 390
Joined: Sat Oct 02, 2004 3:04 pm

Post by Jim_Bo »

Maybe I have the name wrong ..

But the same system where above the text box when adding or editing a record like here you see the buttons to add tags around text to make them bold, italic etc.

Like u highlight the word and bress the B above the text box and you get word set around the word .. or something like TinyMCE that has those functions, but more of a web page editor when I just whant a few basic function/buttons


Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

if you want what phpbb uses, look at the posting page's code. It's all there for you to see.
Jim_Bo
Forum Contributor
Posts: 390
Joined: Sat Oct 02, 2004 3:04 pm

Post by Jim_Bo »

I assume there is javascript involved?


Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

yup.
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

A couple of basic but good ones:
Simpletexteditor from Cezary Tomczak
Quicktags from Alex King (uses regular html tags, and is fully customisable)
and the one I like a lot:
widgeditor from Cameron Adams
Jim_Bo
Forum Contributor
Posts: 390
Joined: Sat Oct 02, 2004 3:04 pm

Post by Jim_Bo »

Thanks Matthijs,

Simpletexteditor has the look im after but the code thats output can get messy I noticed

widgeditor outputs nice clean code, but the buttons etc arnt very nice looking


Thanks for the sites, thats what I was after


Cheers
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

for a quick, simple wysiwyg editor, i can't recomment widgeditor enough... I was going to use it for my in-house CMS, but the feature set of FCKeditor was way too far ahead of widg to make it worthwhile... I may have some redesigned icons for widg somewhere on my hdd, If you'd like then i can hunt around...

<edit>
Found 'em!

http://jefs.com/misc/widgEditorIcons.zip

</edit>
Noobie
Forum Commoner
Posts: 85
Joined: Sun May 15, 2005 11:38 am

Post by Noobie »

I second the vote on TinyMCE it outputs pretty reasonable code for a WYSIWYG.
darkbear
Forum Newbie
Posts: 3
Joined: Sat Mar 18, 2006 8:56 am

Post by darkbear »

RTE is a very simple wysiwyg. http://www.kevinroth.com/rte/demo.htm
Post Reply