phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

WYSIWYG Editor/Rich Text Editor

Publish your own request for comments or patches for the next version of phpBB. Discuss the contributions and proposals of others. Upcoming releases are 3.1/Ascraeus and 3.2/Arsia.

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby Meis2M » Sat Apr 21, 2012 5:09 pm

yes Tinymce...
User avatar
Meis2M
Registered User
 
Posts: 213
Joined: Fri Apr 23, 2010 10:18 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby AliasM2K » Sun Apr 22, 2012 12:49 am

Meis2M wrote:Hi
see my editor. :D
- working with custom bbcode
- smilies
and ....

username: test
pass: 123456
http://www.php-bb.ir/test/posting.php?m ... ly&f=2&t=1


I like the way you got it implemented. With couple of fixes, it would be great :D Way to go man :D
User avatar
AliasM2K
Registered User
 
Posts: 82
Joined: Tue Mar 27, 2012 2:33 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby AliasM2K » Sun Apr 22, 2012 2:21 am

And, almost forgot... Made a couple of improvements like quote and code support.

Still haven’t done the ### wrote part as it requires interaction with phpBB API. As far as codes are concerned, have to implement a button for it in the rich text editor toolbar.

Live demo here

And, could someone suggest me where to get the phpBB smileys?
User avatar
AliasM2K
Registered User
 
Posts: 82
Joined: Tue Mar 27, 2012 2:33 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby shibulijack » Sun Apr 22, 2012 3:47 am

brunoais wrote:
Meis2M wrote:Hi
see my editor. :D
- working with custom bbcode
- smilies
and ....

username: test
pass: 123456
http://www.php-bb.ir/test/posting.php?m ... ly&f=2&t=1


I don't like that I have to open a new tab/window to view the source code. That's a feature that Tiny MCE that I don't like.


Modifying that shouldn't be much difficult. What interests me is the phpBB smilies integration with the editor.
shibulijack
Registered User
 
Posts: 15
Joined: Mon Mar 19, 2012 8:22 pm

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby AliasM2K » Mon Apr 23, 2012 2:37 am

Completed configuring the editor to use phpBB smileys. Had to do minor adjustments like replacing the Question bbcode :?: with :question: and Embarrassed bbcode :oops: with :shy: because the regexp matches only the first two characters :? of question bbcode and replaces it with confused emote instead. Similarly the first two characters :o of embarrassed bbcode is matched and replaced by surprised.

Anyone any suggestions on this bug? Further feed backs are always welcome.

Now going to workout a button to insert codes.
User avatar
AliasM2K
Registered User
 
Posts: 82
Joined: Tue Mar 27, 2012 2:33 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby brunoais » Mon Apr 23, 2012 7:19 am

AliasM2K wrote:Anyone any suggestions on this bug? Further feed backs are always welcome.

Talk to me in the IRC after 1pm. I'll be there some times during my afternoon (GMT summer).
brunoais
Registered User
 
Posts: 626
Joined: Fri Dec 18, 2009 3:55 pm

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby AliasM2K » Tue Apr 24, 2012 12:13 am

brunoais wrote:Talk to me in the IRC after 1pm. I'll be there some times during my afternoon (GMT summer).


Ok. I will try. But I'd really like to work out this regex mess. To be frank, I am not good with regex.

Anyway, here is my progress so far... Hope it is good :D
User avatar
AliasM2K
Registered User
 
Posts: 82
Joined: Tue Mar 27, 2012 2:33 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby shibulijack » Tue Apr 24, 2012 5:08 am

I thought the idea of RTE integration would get into GSoC for sure. I guess I was wrong. This feature may not be so important after all.
shibulijack
Registered User
 
Posts: 15
Joined: Mon Mar 19, 2012 8:22 pm

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby Oleg » Tue Apr 24, 2012 3:13 pm

AliasM2K wrote:
Oleg wrote:Please keep in mind that the biggest issue with integrating a rich text editor in the past has been support for custom bbcodes.


Will remember that... In fact that is one of the biggest mess I am encountering now. Custom BBCodes...

If i remember correctly none of RTE proposals addressed custom bbcodes.
Oleg
3.1 Release Manager
3.1 Release Manager
 
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby shibulijack » Tue Apr 24, 2012 4:36 pm

Oleg wrote:
AliasM2K wrote:
Oleg wrote:Please keep in mind that the biggest issue with integrating a rich text editor in the past has been support for custom bbcodes.


Will remember that... In fact that is one of the biggest mess I am encountering now. Custom BBCodes...

If i remember correctly none of RTE proposals addressed custom bbcodes.


But after you suggested, I looked into almost every article I could find for custom BBCode and started learning as much as I could.
P.S: I included it in my proposal.
shibulijack
Registered User
 
Posts: 15
Joined: Mon Mar 19, 2012 8:22 pm

Previous Next

Return to [3.x] RFCs

Who is online

Users browsing this forum: No registered users and 13 guests