[2.0] New WYSIWYG editor

Mark threads with "[2.0]" for discussions about features in the longer-term future, "[1.6]" is for short-term. This is not the place for general discussions or plugin or template requests. Only features that are approved to happen by the core team should be listed here for better structuring.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: [2.0] New WYSIWYG editor

Post by yellowled »

Timbalu wrote:It is very easy to integrate!
For a John/Jane Doe user with next to no technical skills? (And that is the target audience for a WYSIWYG editor.)

I beg to differ.

YL
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: [2.0] New WYSIWYG editor

Post by garvinhicking »

Hi!

Sure, a new plugin would be okay for me.

You need to think about all the other scenarios, where event plugins modify i.e. the toolbar for WYSIWYG editors, or where WYSIWYG editors are not only used for body/extended but also for HTML nuggets (plugin configuration types) or even staticpages etc. all this needs to be thoroughly tested.

And then, again. We need a WYISWYG editor in the core. There is absolutely no way we will remove xinha without having another WYSIWYG editor BUNDLED with serendipity. I haven't checked, but I guess CKEditor is not BSD?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: [2.0] New WYSIWYG editor

Post by yellowled »

garvinhicking wrote:I haven't checked, but I guess CKEditor is not BSD?
GPL, LGPL or MPL (that's the Mozilla Public License)

http://ckeditor.com/about/license

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] New WYSIWYG editor

Post by Timbalu »

yellowled wrote:
Timbalu wrote:It is very easy to integrate!
For a John/Jane Doe user with next to no technical skills? (And that is the target audience for a WYSIWYG editor.)

I beg to differ.
:?: Is a Plugins click by click installation via Spartacus/ftp something which effords advanced technical skills? IMO its just three additional clicks (by now and could even get reduced in future Serendipitys) and can be advertised nicely to J&J! Benefit is a better maintained and modernized wysiwyg editor ready to use... :!:

The License quest has already been discussed.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: [2.0] New WYSIWYG editor

Post by yellowled »

Timbalu wrote:Is a Plugins click by click installation via Spartacus/ftp something which effords advanced technical skills?
As far as I remember, you need to manually download the 3rd party editor, unzip it and upload it to the proper place in your s9y installation. (Correct me if I'm wrong.) And yes, that is too complicated for the average user.

Other than that, I agree with Garvin that it is probably not a good idea to ship s9y without a bundled WYSIWYG editor.

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] New WYSIWYG editor

Post by Timbalu »

But for any who has read this thread with open eyes, I talked at least two times about an already bundled Plugin.

And for the other, I can't see too much difference in setting active a delivered one or a scripted download and Plugin activation on demand, by activating the wysiwyg option. I am quite sure this could be done and integrated so smoothly, that it would not confuse a newby.

I will not fight for this endless.... but I think CKE is currently the best of all available Editors. Why provide something old and unmaintained, that none of us really recommends, for ages... just because of license odds, if we could find a way around? :?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: [2.0] New WYSIWYG editor

Post by yellowled »

Just to make this clear, I am not at all opposed to bundling a new plugin which automates the process of downloading and integrating a WYSIWYG editor which is not compatible with our license – if doing so is compatible with out license. (I am really, really tired of all this license stuff, and I have no energy to check whether it would be okay to use this “trick”.)

What I wanted to point out is that the way the current WYSIWYG editor plugins work would not be an adequate substitute for a bundled WYSIWYG editor for probably most of our users. That means it would not suffice to have an option to just install one of the editor plugins within the installation process and let the user handle the rest of it the way it needs to be done now. That is too complicated.

(And if it were my sole decision, by the way, we would not bundle a WYSIWYG editor at all, but we can't do that.)

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] New WYSIWYG editor

Post by Timbalu »

Hi all

Good news!!

I have solved my problems regarding the new CKEditor WYSIWYG-Editor Plugin integrating Serendipity event hook buttons on the fly and including the free (GPL2 & LGPL2) KCFINDER file-uploader/browser plugin.

There might be still some very small enhancements left... but I feel fine to give it free for a quick and strong beta test, before I change some other Plugins to hook-in right and upload this into additional plugins.

Please just drop me a Private Message.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Dergln
Regular
Posts: 54
Joined: Thu Jun 23, 2011 8:18 pm
Location: Hessen
Contact:

Re: [2.0] New WYSIWYG editor

Post by Dergln »

This sounds great.

Sent you a PM :)
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] New WYSIWYG editor

Post by Timbalu »

Thank you for offering help!
I will soon answer your post, but today I had to solve some more small issues, which sadly had to change core files (which is upcoming Serendipity 1.7). This is why I think I might restrict this plugin to >= 1.7 only. If you will only test with the serendipity forms and not the staticpages entry textareas you can as well try your luck with a 1.6 version. As I haven't updated the additional hook-in plugins like linktrimmer, amazonchooser and emoticonchooser yet, there is also a small limitation with this beta.
What do you think?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Dergln
Regular
Posts: 54
Joined: Thu Jun 23, 2011 8:18 pm
Location: Hessen
Contact:

Re: [2.0] New WYSIWYG editor

Post by Dergln »

If it only works with 1.7 I'll simply make me an RC installation then :wink:
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] New WYSIWYG editor

Post by Timbalu »

Send via PM!

Yes, this will at least require 1.7-RC Versions and up [best with 1.7 release!].
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: [2.0] New WYSIWYG editor

Post by Timbalu »

Please read http://board.s9y.org/viewtopic.php?f=4&t=19354 on this as follow-up!
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
onli
Regular
Posts: 2822
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: [2.0] New WYSIWYG editor

Post by onli »

I now came around to experiment with inluding ckeditor into the core. Building partly on Ians plugin, that was remarkably easy. Any questions or suggestions? Anyone already tested the newest 2.0 with ckeditor?
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: [2.0] New WYSIWYG editor

Post by yellowled »

onli wrote:Anyone already tested the newest 2.0 with ckeditor?
I wouldn't call it testing (at least not intensive testing), but I have a current 2.0 checkout running with CKE. Works like a charm so far.

YL
Locked