# |
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? |
# |
Jun 21st 2018, 14:57 |
itmpls |
most likely there will be no difference really |
# |
Jun 21st 2018, 14:57 |
itmpls |
are you measuring the difference? can your users notice the load difference between either? |
# |
Jun 21st 2018, 14:57 |
josbeir |
yeah, but i want something more lightweight |
# |
Jun 21st 2018, 14:47 |
mikesmoniker |
We use it in a React codebase and have done some fairly non-trivial customizations to it, IIRC. |
# |
Jun 21st 2018, 14:47 |
mikesmoniker |
We use tinymce. It integrates with jQuery, but I’m 95% sure jQuery isn’t a dependency. |
# |
Jun 21st 2018, 14:39 |
josbeir |
anyone tips for a nice lightweight ckeditor alternative (not powered by jquery) |
# |
Jun 21st 2018, 14:28 |
itmpls |
so in 3.6+, the preferred method of routing and what not is in src/Application instead of config/routes/etc for plugins? |
# |
Jun 21st 2018, 13:18 |
neon1024 |
Yeah, Crud has a JsonApi listener for creating your json web service quickly :slightly_smiling_face: |
# |
Jun 21st 2018, 12:47 |
yadav.manu36 |
@madbbb thanks for this. i will try to use according these articles |
# |
Jun 21st 2018, 12:43 |
madbbb |
@yadav.manu36 those articles helped me a lot http://www.bravo-kernel.com/tags/api/ |
# |
Jun 21st 2018, 12:40 |
josbeir |
=> https://github.com/FriendsOfCake/crud |
# |
Jun 21st 2018, 12:40 |
josbeir |
@yadav.manu36 check out the crud plugin |
# |
Jun 21st 2018, 12:36 |
yadav.manu36 |
@mikesmoniker thanks for your suggestion. i just want to know any plugin exist or not those working as a auto scaffolding like cake bake. |
# |
Jun 21st 2018, 12:29 |
mikesmoniker |
The closest thing I can think of to a project that mixes Cake and modern FE code (albeit not Angular) would be CakeDC/mixer, which incorporates React into a Cake plugin. |
# |
Jun 21st 2018, 12:27 |
mikesmoniker |
@yadav.manu36 Cake doesn’t come with any default front-end conventions or prescriptions on what style/js tooling to use or how. My advice would be to create a project with a top-level folder for your API and another for your JS app, or if it’s an existing Cake app just a folder in there. Then build out using your favorite tooling (webpack, etc.). |