PHPBB3-10418 - WYSIWYG Editor/Rich Text Editor

Discuss requests for comments/changes posted in the Issue Tracker for the development of phpBB. Current releases are 3.2/Rhea and 3.3/Proteus.
Post Reply
shibulijack
Registered User
Posts: 15
Joined: Mon Mar 19, 2012 8:22 pm

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Post by shibulijack »

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?

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

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Post by AliasM2K »

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

Post by AliasM2K »

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
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Post by imkingdavid »

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
AliasM2K
Registered User
Posts: 82
Joined: Tue Mar 27, 2012 2:33 am

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Post by AliasM2K »

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

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Post by brunoais »

*tumbsup* YAY!
That's more like it :). Keep up the good work.

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

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Post by AliasM2K »

Thank you very much :D

User avatar
Meis2M
Registered User
Posts: 448
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Post by Meis2M »

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

shibulijack
Registered User
Posts: 15
Joined: Mon Mar 19, 2012 8:22 pm

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Post by shibulijack »

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?

User avatar
brunoais
Registered User
Posts: 964
Joined: Fri Dec 18, 2009 3:55 pm

Re: [RFC] WYSIWYG Editor/Rich Text Editor

Post by brunoais »

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.

Post Reply