View Full Version : wsiwig html text editor made in php
Billy T
10-13-2003, 01:32 PM
Hey all
I want to make (you guessed it) a simple wsiwig html text editor in php
something like this - http://www.joshdura.com/archives/000163.php
but in php...
can anyone point me in the right direction?
Thanks
freddycodes
10-13-2003, 05:46 PM
Billy,
That is nice idea in theory, but since PHP requires server intervention, it is not the ideal choice. Yes you would need some server-side logic to pull data in, and to save data.
It is much more in your interest to use Javascript or flash for the actual editor GUI.
I actually made an extension to Josh Dura's texteditor to allow the storing of the pages in a mysql database with PHP transporting the data to and from the server.
I sent it to him but he never even replied on whether he wanted the enhancements. Me thinks he could not get it implemented onm his server.
Billy T
10-13-2003, 07:16 PM
Originally posted by freddycodes
Yes you would need some server-side logic to pull data in, and to save data.
It is much more in your interest to use Javascript or flash for the actual editor GUI.
hmm yeah that's what I was thinking. I'm rebuilding my cms in php and html frames and was hoping to redo this part - might just have to be one of those bits I leave in flash ;)
I found the josh dura one a bit clunky when selecting text and stuff...do you have any examples of this sort of thing that uses javascript? All I really need to be able to do is make text bold, underline, add links and change the actual text...
Thanks freddy
freddycodes
10-13-2003, 08:17 PM
I don't suppose you want to spend any money for this do you?
http://www.labs4.com/htmleditbox/2.0/index.php
This one is super sweet. In fact I wish I had seen this one a year ago when I really needed one.
This one looks alright
http://www.unica.edu/uicfreesoft/wysiwyg_web_edit/info_wysiwyg_web_edit_eng.html
Here some more
http://www.hotscripts.com/cgi-bin/search.cgi?bool=AND&query=wysiwyg&catid=26
CyanBlue
10-13-2003, 11:16 PM
WoW... That htmlEditbox 2.0 is really sweat... I should have seen this one when I was pulling hair out... :(
$39.90 is really attractive price as well as long as we can customize the features if needed... I'd pay for this one and save big trouble ahead if I need to create one now... ;)
Billy T
10-14-2003, 06:15 AM
thanks freddy
there seems to be quite a few out there that don't work on mac browsers...something about the 'execCommand' I think
will keep searching and will report back
cheers
freddycodes
10-14-2003, 12:34 PM
Is this CMS something for you to use personally? Or is it more of a product that people can download and use? Remember that a majority of those folks will be on PC>
But enough rant about that. Due to inconsistencies across platofmrs with Javascript. If you want a fail safe editor that works the same on both platforms. I think you are stuck with something like Flash or maybe Java or C#, but flash would be the easiest. The cool thing, a flash editor without the overhead of a Josh Dura type would be fairly easy to build and it can serve as a tool just for editing, the rest can be straight PHP/HTML.
Billy T
10-14-2003, 10:05 PM
cools thanks freddy
I think I'll stick with the flash editor that I already have then...
cheers
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.