aesmail / aesmail/kaffy

[FEATURE-REQUEST] Support for CKEditor Super Build

Open
#236 2 comments 1 reaction 1 assignee Claimed by @aesmail View on GitHub
enhancement
Dominant language
Elixir
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

I would like `Kaffy` admin to add support for `CKEditor` super build, which comes with a full fledged `richtext` editor, like this:

![Screenshot from 2022-07-23 21-51-58](https://user-images.githubusercontent.com/65728679/180620936-6dd7f233-6d43-4862-941b-9faa65754ab3.png)

I had to create a custom `Ecto` `RichTextField`, add `CKEditor` super build CDN to `Kaffy` , followed this guide [Running a full-featured editor from CDN](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/quick-start.html#running-a-full-featured-editor-from-cdn) and loaded the plugins config script shown in the above guide as custom `javascripts`, rendering the editor you see in the screenshot.

I can't load `CKEditor` super build under `Kaffy's` custom `javascripts` because it causes conflicts.

So my thought is since `Kaffy` ships with the minimal CKEditor javascript which adds support for `richtext` fields, it would be nice if there is an option to configure which version of `CKEditor` to use, or perhaps `Kaffy` ships with the `CKEditor` super build by default and allow developers to load a custom javascripts describing which plugins or widgets should appear on the editor

Would love to hear your thoughts.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.