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 shibulijack » Tue Apr 17, 2012 4:25 am

AliasM2K wrote:About the strike and size bbcode bugs; that occurs because I still use the default bbcode plugin provided by CKEditor. The bug exists only for the bbcode plugin, and works fine for HTML outputs.


There is no such bug in the CKEditor, as far as I know. Are you sure you are using the latest version?
shibulijack
Registered User
 
Posts: 15
Joined: Mon Mar 19, 2012 8:22 pm

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby AliasM2K » Tue Apr 17, 2012 11:54 pm

shibulijack wrote:
AliasM2K wrote:About the strike and size bbcode bugs; that occurs because I still use the default bbcode plugin provided by CKEditor. The bug exists only for the bbcode plugin, and works fine for HTML outputs.


There is no such bug in the CKEditor, as far as I know. Are you sure you are using the latest version?


Yes. Quite sure.
User avatar
AliasM2K
Registered User
 
Posts: 82
Joined: Tue Mar 27, 2012 2:33 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby AliasM2K » Wed Apr 18, 2012 3:14 am

imkingdavid wrote:Strike and size bbcodes are removed if you switch to source and then back. Also, eventually, it should be using the phpBB smilies and will need to handle custom BBcodes somehow.


Thanks to wiktor, fixed the font sizes and strike bugs. Checkout the updated live demo.

The current bugs include
  1. Smileys - Would be implemented
  2. Font Sizes - List should be tiny, small, normal, large and huge instead of 50, 85, 100, 150 and 200 (or is it necessary?)
  3. Enabling toolbar while editing bbcode - requires replacement of the Source button. Working on it, and would be implemented.
  4. Custom BBCodes - That requires interaction with phpBB API. Will come to it later once the editor interface is done.
User avatar
AliasM2K
Registered User
 
Posts: 82
Joined: Tue Mar 27, 2012 2:33 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby imkingdavid » Wed Apr 18, 2012 2:47 pm

Yes, you should change it to words instead of numbers for font sizes, like it is already done in phpBB (with the same numbers corresponding, i.e. Huge = 200)
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.
User avatar
imkingdavid
Development Team
Development Team
 
Posts: 902
Joined: Thu Jul 30, 2009 12:06 pm

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby AliasM2K » Thu Apr 19, 2012 2:39 am

Completed couple of improvisations... Checkout the live demo.

The idea is to demonstrate swapping between rich text editor mode (implemented using CKEditor) and bbcode editor mode (implemented using markItUp! jQuery plugin). The transitions implemented are just for show off; and markItUp! editor may be replaced by the current phpBB editor.

By the way, any suggestions on inserting codes and quotes in rich text mode?
User avatar
AliasM2K
Registered User
 
Posts: 82
Joined: Tue Mar 27, 2012 2:33 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby brunoais » Thu Apr 19, 2012 8:24 am

*tumbsup* YAY!
That's more like it :). Keep up the good work.
brunoais
Registered User
 
Posts: 626
Joined: Fri Dec 18, 2009 3:55 pm

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby AliasM2K » Fri Apr 20, 2012 1:14 am

Thank you very much :D
User avatar
AliasM2K
Registered User
 
Posts: 82
Joined: Tue Mar 27, 2012 2:33 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby Meis2M » Sat Apr 21, 2012 7:29 am

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
User avatar
Meis2M
Registered User
 
Posts: 213
Joined: Fri Apr 23, 2010 10:18 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby shibulijack » Sat Apr 21, 2012 2:54 pm

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


Looks good. Tiny MCE?
shibulijack
Registered User
 
Posts: 15
Joined: Mon Mar 19, 2012 8:22 pm

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Postby brunoais » Sat Apr 21, 2012 4:50 pm

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.
brunoais
Registered User
 
Posts: 626
Joined: Fri Dec 18, 2009 3:55 pm

Previous Next

Return to [3.x] RFCs

Who is online

Users browsing this forum: No registered users and 8 guests