Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

I'll Drop support for Redactor.js #62

Open
zofe opened this issue Aug 1, 2014 · 22 comments
Open

I'll Drop support for Redactor.js #62

zofe opened this issue Aug 1, 2014 · 22 comments
Labels

Comments

@zofe
Copy link
Owner

zofe commented Aug 1, 2014

I must drop support for redactor.js as wysiwyg.
We use the old v7.6.1 of 2012, it "was" mit licensed (so open source) as you can see here:
https://github.com/zofe/rapyd-laravel/blob/master/public/assets/redactor/redactor.js

But now It's ONLY commercial, to prevent legal problems I decided to remove all js/css and "redactor" field type for DataForm.

if you want still use redactor

  • You can still use redactor.js switching from "redactor" to "textarea" field and including your own copy of redactor js/css (i think you must buy a license)
$form->add('body','Body', 'redactor'); //from
$form->add('body','Body', 'textarea')->attr('class','redactor'); //to
  • You can contribute to buy a 499$ OEM license (specific to open source projects)
    tipping me or sending bitcoins here: https://www.gittip.com/zofe/
    This way I can re-add support to a fresh redactor copy, that will be fine also for your commercial application. more detail here: imperavi.com/redactor/download/

if you want suggest a valid wysiwyg alternative

Please write here to suggest an open source alternative to replace redactor.
It must be small (few files), recent, and with a good community, free for commercial use

@zofe zofe added the question label Aug 1, 2014
@zofe
Copy link
Owner Author

zofe commented Aug 1, 2014

My candidate is : http://ckeditor.com/
It has "also" a commercial license but as alternative.
It seems feature rich, word integration, etc..
But it's not small.. so suggest alternative please

@tacone
Copy link
Collaborator

tacone commented Aug 1, 2014

Ckeditor is very nice. The size, though, is enormous (last time I got 400k of compressed js IIRC).
However it may make more sense to put in something feature rich than something too basic in this case, and try to load the js on demand.

@zofe
Copy link
Owner Author

zofe commented Aug 1, 2014

http://cdn.ckeditor.com/
what about to use a CDN?
I mean.. rapyd require of Bootstrap and for some fields JQuery but neither is included.

@zofe
Copy link
Owner Author

zofe commented Aug 1, 2014

our datepicker (and all unused languages files) can be moved here:
https://www.cdnjs.com/libraries/bootstrap-datepicker
typehead:
https://www.cdnjs.com/libraries/typeahead.js

but there isn't a colorpicker, and a good tags-input

@tacone
Copy link
Collaborator

tacone commented Aug 1, 2014

I hate cdn's. If size is a concern we can have ckeditor on the cdn but stripping all js would be a mistake I think.

@ssomenzi
Copy link

ssomenzi commented Sep 1, 2014

What about
https://github.com/hackerwins/summernote

actively developed
MIT licence
minified js is less than 60K
css is around 10K
pretty feature rich (even if not as rich as ckeditor)
inspired by redactor
leverages twitter bootstrap

bonus feature: keyboard binding (i love it)

@tacone
Copy link
Collaborator

tacone commented Sep 1, 2014

look like it has improved a lot since the last time I looked at it

@zofe
Copy link
Owner Author

zofe commented Sep 2, 2014

ok, summernote is my candidate now.

@tvalentius
Copy link
Contributor

some suggestion : https://github.com/arryanggaputra/Mokki-Editor

@zofe
Copy link
Owner Author

zofe commented Sep 5, 2014

@tvalentius mokki sems absolutely lightweight so.. good, but It seems really new and I don't see fallback for old browsers.

I think we well adopt summernote as default, all other wysiwyg can be used via textarea field + adding custom css class (or custom javascript function for mokki)

@nilsE
Copy link

nilsE commented Jan 14, 2015

@zofe any news on summernote integration? i also think it's a great replacement for redactor.

@zofe
Copy link
Owner Author

zofe commented Jan 14, 2015

Hi, I'm little bit busy but,
should be simple as copy and paste this class renamed as Summernote:
https://github.com/zofe/rapyd-laravel/blob/master/src/Zofe/Rapyd/DataForm/Field/Redactor.php
creating an asset folder "summernote" with js and css here:
https://github.com/zofe/rapyd-laravel/tree/master/public/assets
and replacing references to css and js in the new class

if I do not receive the pull request "before" I'll do the new field on next weekend (I hope).

@ghost
Copy link

ghost commented Apr 19, 2015

any update on this topic?

@ghost
Copy link

ghost commented Apr 19, 2015

@tacone
Copy link
Collaborator

tacone commented Apr 19, 2015

it's broken because later on rapyd switched to PSR-4. Here's the new one: https://github.com/zofe/rapyd-laravel/blob/master/src/DataForm/Field/Redactor.php

@ghost
Copy link

ghost commented Apr 22, 2015

I follow above instructor to change to summernote from redactor successfully, thanks

@davelopware
Copy link
Contributor

I'd suggest Trumbowyg for it's simplicity and small footprint: http://alex-d.github.io/Trumbowyg/ https://github.com/Alex-D/Trumbowyg

@Hammad51
Copy link

what about TinyMCE #Zofe ? http://www.tinymce.com/ i think you should go for it..

@tamer-hassan
Copy link

TinyMCE community edition is LGPL 2.1 licensed and looks like a great alternative indeed. @zofe

@DennisCraandijk
Copy link
Contributor

Any update on this?

@tacone
Copy link
Collaborator

tacone commented May 4, 2016

I'm playing with summer note right now. Looks sweet to me.

@tacone
Copy link
Collaborator

tacone commented May 4, 2016

My suggestions are:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

8 participants