Page 1 of 1

php rich editor

Posted: Sun Oct 05, 2008 8:31 am
by persiangulf
hi
I want to use an editor such this forum editor (for posting topic ) for my site. I found a lot of textarea editors (At first it was browsers) that where completely written in javascript but i want one that is processed by php not javascript.Is there any one out there that you offer cause I don't have enough time to write this by myself.
Thanks!

Re: php rich editor

Posted: Sun Oct 05, 2008 11:10 am
by alex.barylski
I think you just stole the title of "most confusing post" right from underneath me :P

1. Browsers (that I know of) are not written in javascript...some parts like FF I believe use JS/XUL for some of the interface
2. An editor in PHP is all but impossible in this context.
Is there any one out there that you offer cause I don't have enough time to write this by myself.
With your apparent understanding of PHP and Javascript...you'd have a hard time getting anywhere. :lol:

Re: php rich editor

Posted: Sun Oct 05, 2008 12:30 pm
by persiangulf
Sorry I had wrong with writing editor instead of browsers i corrected it:|
With your apparent understanding of PHP and Javascript...you'd have a hard time getting anywhere.
Of course writing this editor in php is not hard it just consume some time but I don't think I mentioned that I can not or it is hard!
I'm wondering of how much you are honering yourself :?:
That's enough I don't have enough time to answer the silly things

Re: php rich editor

Posted: Sun Oct 05, 2008 12:39 pm
by onion2k
persiangulf wrote:Of course writing this editor in php is not hard it just consume some time but I don't think I mentioned that I can not or it is hard!
Writing a rich text editor in PHP is impossible isn't it? How would it work?

If you think you can make one I'd be really interested in seeing it. Even just a basic prototype.

Re: php rich editor

Posted: Sun Oct 05, 2008 12:50 pm
by persiangulf
Writing a rich text editor in PHP is impossible isn't it? How would it work?
Excuse me I think we have a misunderstanding!
If I said rich text editor I do not mean something like Openwysiwyg or TinyMCE that are completely in java script. I mean something like the one that we use to post or answer topics in this site!
OK I think I should write it by myself instead of posting replies :mrgreen:

Re: php rich editor

Posted: Sun Oct 05, 2008 1:12 pm
by alex.barylski
heh? :? :lol:

If you want a WYSIWYG like TinyMCE then you use one...the one on these boards is commonly refered to as a bbCode editor.
Writing a rich text editor in PHP is impossible isn't it? How would it work?
Not impossible. phpGTK. Just really useful for a web application. :P

Re: php rich editor

Posted: Sun Oct 05, 2008 3:45 pm
by persiangulf
If you want a WYSIWYG like TinyMCE then you use one...the one on these boards is commonly refered to as a bbCode editor.
Thanks Hockey.
Believe me or not I did not know this till now that it is bbcode editor not wyswyng :oops:
However thanks.

Re: php rich editor

Posted: Sun Oct 05, 2008 4:04 pm
by alex.barylski
No worries :)

I would have said that earlier but I wasn't sure what you were asking.

Re: php rich editor

Posted: Sun Oct 05, 2008 4:10 pm
by persiangulf
Again thanks Hockey,
I find HTML_BBCodeParser class on PEAR just because of your keyword :lol:

Re: php rich editor

Posted: Sun Oct 05, 2008 4:44 pm
by alex.barylski
Sweet :)