# |
Jun 21st 2018, 15:05 |
neon1024 |
We certainly don’t deploy Node to our servers, but most of our JS bits are Node |
# |
Jun 21st 2018, 15:05 |
josbeir |
npm ftw ! |
# |
Jun 21st 2018, 15:05 |
neon1024 |
Just build the packed file |
# |
Jun 21st 2018, 15:04 |
josbeir |
needs to be requirejs compliant to |
# |
Jun 21st 2018, 15:04 |
neon1024 |
You don’t need npm |
# |
Jun 21st 2018, 15:04 |
josbeir |
no npm package no go |
# |
Jun 21st 2018, 15:04 |
josbeir |
yeah thats a requirement :slightly_smiling_face: |
# |
Jun 21st 2018, 15:04 |
neon1024 |
Or look at Node.js ones and pack up one of those? |
# |
Jun 21st 2018, 15:04 |
josbeir |
stubmled on this one https://github.com/laobubu/HyperMD but that has its own issues |
# |
Jun 21st 2018, 15:03 |
itmpls |
doesn't sound like a problem to me, hah |
# |
Jun 21st 2018, 15:03 |
neon1024 |
They all are, but the time to develop the functionality yourself out weighs that in most cases |
# |
Jun 21st 2018, 15:03 |
josbeir |
not many maintained ones out there |
# |
Jun 21st 2018, 15:03 |
itmpls |
i mostly have used markdown/ck/tinymce |
# |
Jun 21st 2018, 15:03 |
josbeir |
i did :) |
# |
Jun 21st 2018, 15:03 |
itmpls |
google some alternatives |
# |
Jun 21st 2018, 15:02 |
josbeir |
as i said, its not my first ckeditor rodeo but i find it too much for many use cases |
# |
Jun 21st 2018, 15:02 |
josbeir |
:) |
# |
Jun 21st 2018, 15:02 |
josbeir |
kay i guess ckeditor it is.. again |
# |
Jun 21st 2018, 15:02 |
neon1024 |
You can customise it right down if you want, and it doesn’t need jQuery |
# |
Jun 21st 2018, 15:01 |
neon1024 |
Yeah, just removes some plugins |
# |
Jun 21st 2018, 15:01 |
josbeir |
isn't the lightweight version of ck just a preset :) |
# |
Jun 21st 2018, 15:01 |
neon1024 |
At least then you have 1 wysiwyg in your project for use all over |
# |
Jun 21st 2018, 15:01 |
itmpls |
yep |
# |
Jun 21st 2018, 15:00 |
neon1024 |
I’d just download the light edition ckeditor and customise the toolbar |
# |
Jun 21st 2018, 15:00 |
josbeir |
'we do not comprehend this markdown, is this sorcery' |
# |
Jun 21st 2018, 15:00 |
neon1024 |
If you want to highlight something and wrap it with * you could do that with javascript |
# |
Jun 21st 2018, 15:00 |
josbeir |
but i'm hearing my customers complain already |
# |
Jun 21st 2018, 14:59 |
itmpls |
sure |
# |
Jun 21st 2018, 14:59 |
josbeir |
maybe i'll just integrate some stupid markdown editor |
# |
Jun 21st 2018, 14:59 |
itmpls |
haha |
# |
Jun 21st 2018, 14:59 |
itmpls |
will it just keep you with a peace of mind? |
# |
Jun 21st 2018, 14:59 |
neon1024 |
Because lightweight is `<textarea></textarea>` :P |
# |
Jun 21st 2018, 14:59 |
josbeir |
i only need a few standard actions, bold and url, auto paragraphs |
# |
Jun 21st 2018, 14:59 |
itmpls |
but if there's no discernible difference, what's the point? |
# |
Jun 21st 2018, 14:59 |
josbeir |
but i'm looking for something much lighter in terms of integration |
# |
Jun 21st 2018, 14:59 |
neon1024 |
Tell us your use-case |
# |
Jun 21st 2018, 14:58 |
josbeir |
i know ckeditor very well and i know of what it is capapable |
# |
Jun 21st 2018, 14:58 |
itmpls |
and a jquery requirement |
# |
Jun 21st 2018, 14:58 |
itmpls |
there are probably tons of other things you can optimize that would make much more of a difference than a couple KB off a file |
# |
Jun 21st 2018, 14:58 |
josbeir |
i'm not talking about end user experience |
# |
Jun 21st 2018, 14:58 |
itmpls |
do you have reasons for the light-weightness? are you heavily customizing it? |