[CDB] Simple WYSIWYG

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Senky
Extension Customisations
Extension Customisations
Posts: 2124
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

[CDB] Simple WYSIWYG

Post by Senky » Thu Feb 21, 2019 12:21 pm

Extension Name: Simple WYSIWYG
Author: Senky

Extension Description: Replaces posting area with simple WYSIWYG editor.
Extension Version: 1.0.0-dev
Source Repository: https://github.com/senky/phpbb-ext-simplewysiwyg

Screenshots:
Snímka obrazovky 2019-02-21 o 13.20.25.png
Snímka obrazovky 2019-02-22 o 9.16.14.png


Restrictions: This ext will never be able to support custom BBcodes.

Extension Download: https://www.dropbox.com/s/r67bstr32iipx ... g.zip?dl=1

User avatar
david63
Registered User
Posts: 16330
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [DEV] Simple WYSIWYG

Post by david63 » Thu Feb 21, 2019 12:52 pm

Does it support multi level quotes? If so how many?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Senky
Extension Customisations
Extension Customisations
Posts: 2124
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: [DEV] Simple WYSIWYG

Post by Senky » Thu Feb 21, 2019 2:12 pm

david63 wrote:
Thu Feb 21, 2019 12:52 pm
Does it support multi level quotes? If so how many?
Didn't test yet. Just resolved inline attachments, smilies are a known issue and now I seemingly nested quotes as well. :D

User avatar
EA117
Registered User
Posts: 755
Joined: Wed Aug 15, 2018 3:23 am
Contact:

Re: [DEV] Simple WYSIWYG

Post by EA117 » Thu Feb 21, 2019 4:53 pm

I like the sound of simple. 😃 What's currently expected for [img] or attachments?

Senky
Extension Customisations
Extension Customisations
Posts: 2124
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: [DEV] Simple WYSIWYG

Post by Senky » Fri Feb 22, 2019 8:17 am

EA117 wrote:
Thu Feb 21, 2019 4:53 pm
What's currently expected for [img] or attachments?
Img behaves normally and attachments have a markup similar to what it will look like in the post:
Snímka obrazovky 2019-02-22 o 9.16.14.png

El_Lagarto
Registered User
Posts: 43
Joined: Tue Apr 08, 2014 1:21 pm

Re: [DEV] Simple WYSIWYG

Post by El_Lagarto » Fri Feb 22, 2019 12:05 pm

I get the following error when I try to post a new topic:
Fatal error: Uncaught Twig_Error_Loader: Unable to find template "@senky_simplewysiwyg/js/ckeditor/ckeditor.js" (looked into: /***/ext/senky/simplewysiwyg/styles/prosilver/template, /***/ext/senky/simplewysiwyg/styles/prosilver/theme) in "@senky_simplewysiwyg/event/posting_editor_message_after.html" at line 11. in /***/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:232 Stack trace: #0 /***/phpbb/template/twig/loader.php(135): Twig_Loader_Filesystem->findTemplate('@senky_simplewy...') #1 /***/vendor/twig/twig/lib/Twig/Loader/Filesystem.php(150): phpbb\template\twig\loader->findTemplate('@senky_simplewy...') #2 /***/phpbb/template/twig/environment.php(328): Twig_Loader_Filesystem->getCacheKey('@senky_simplewy...') #3 /***/cache/production/twig/3e/3e5cf53f65606c4e476b901edd7dfbe1faec5428159a5aa68a in /***/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 232
(*** is the path to my domain, I edited it out).

Running phpBB 3.2.5, MySQL(i) 5.6.41-84.1 and PHP 7.1.24 if that makes any difference.

edit: upon review it seems like the editor js isn't included in the download package.

Senky
Extension Customisations
Extension Customisations
Posts: 2124
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: [DEV] Simple WYSIWYG

Post by Senky » Fri Feb 22, 2019 7:50 pm

Oh yes, I restructuralized the code, you need to download separate version of CKEditor from my repo:
https://github.com/senky/ckeditor-dev

because I had to do quite a changes in the core in order to work with phpBB-specific stuff.

El_Lagarto
Registered User
Posts: 43
Joined: Tue Apr 08, 2014 1:21 pm

Re: [DEV] Simple WYSIWYG

Post by El_Lagarto » Fri Feb 22, 2019 8:24 pm

Senky wrote:
Fri Feb 22, 2019 7:50 pm
Oh yes, I restructuralized the code, you need to download separate version of CKEditor from my repo:
https://github.com/senky/ckeditor-dev

because I had to do quite a changes in the core in order to work with phpBB-specific stuff.
Thanks - I figured it out. 8-)

Senky
Extension Customisations
Extension Customisations
Posts: 2124
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: [DEV] Simple WYSIWYG

Post by Senky » Wed Feb 27, 2019 3:53 pm

First post updated:
  • Ext now supports smilies.
  • Download link now with fully working extension - very easy to test.


Next course:
  1. Support quotes from topic review.
  2. Submit to CDB. :mrgreen:

User avatar
Meis2M
Translator
Posts: 874
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [DEV] Simple WYSIWYG

Post by Meis2M » Wed Feb 27, 2019 7:08 pm

Hello
1- any option in ACP or UCP for active this?
2- do you think can develop it for adding in phpbb core? (many discussing in area51 about this and it is one of GSOC project)
phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

Senky
Extension Customisations
Extension Customisations
Posts: 2124
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: [DEV] Simple WYSIWYG

Post by Senky » Wed Feb 27, 2019 7:13 pm

Meis2M wrote:
Wed Feb 27, 2019 7:08 pm
1- any option in ACP or UCP for active this?
Not yet. I guess it would be useful to allow disabling it in UCP.

Meis2M wrote:
Wed Feb 27, 2019 7:08 pm
2- do you think can develop it for adding in phpbb core? (many discussing in area51 about this and it is one of GSOC project)
No. It won't support custom BBcodes, thus will never be allowed in the core.

Senky
Extension Customisations
Extension Customisations
Posts: 2124
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: [RC] Simple WYSIWYG

Post by Senky » Wed Mar 13, 2019 11:09 am

Update:

The extension is already sitting in the validation queue, we are finally close to WYSIWYG editor in phpBB. 8-)

User avatar
Meis2M
Translator
Posts: 874
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [RC] Simple WYSIWYG

Post by Meis2M » Fri May 10, 2019 11:42 pm

i am really waiting for validation in CDB :D
phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

koraldon
Registered User
Posts: 509
Joined: Sat Jun 30, 2007 12:42 pm

Re: [DEV] Simple WYSIWYG

Post by koraldon » Sun May 12, 2019 11:09 am

Senky wrote:
Wed Feb 27, 2019 7:13 pm
Meis2M wrote:
Wed Feb 27, 2019 7:08 pm
2- do you think can develop it for adding in phpbb core? (many discussing in area51 about this and it is one of GSOC project)
No. It won't support custom BBcodes, thus will never be allowed in the core.
Is it a limitation of the extension or of the bbcodes? i.e. if in phpbb 4 the bbcode definition will change to support WYSIWYG will it work?
Out of curiosity, not a big fan of WYSIWYG

Senky
Extension Customisations
Extension Customisations
Posts: 2124
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: [RC] Simple WYSIWYG

Post by Senky » Sun May 12, 2019 11:20 am

I would say both. phpBB has rather complex BBcode system, CKEditor isn't able to handle it. I forked and rewritten CKEditor's BBcode format to at least support default BBcodes.

Locked

Return to “Extensions in Development”