rapyd-laravel
rapyd-laravel copied to clipboard
I'll Drop support for Redactor.js
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
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
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.
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.
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
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.
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)
look like it has improved a lot since the last time I looked at it
ok, summernote is my candidate now.
some suggestion : https://github.com/arryanggaputra/Mokki-Editor
@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)
@zofe any news on summernote integration? i also think it's a great replacement for redactor.
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).
any update on this topic?
and https://github.com/zofe/rapyd-laravel/blob/master/src/Zofe/Rapyd/DataForm/Field/Redactor.php is broken link
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
I follow above instructor to change to summernote from redactor successfully, thanks
I'd suggest Trumbowyg for it's simplicity and small footprint: http://alex-d.github.io/Trumbowyg/ https://github.com/Alex-D/Trumbowyg
what about TinyMCE #Zofe ? http://www.tinymce.com/ i think you should go for it..
TinyMCE community edition is LGPL 2.1 licensed and looks like a great alternative indeed. @zofe
Any update on this?
I'm playing with summer note right now. Looks sweet to me.