aesmail / aesmail/kaffy

[FEATURE-REQUEST] Support for CKEditor Super Build

未關閉
#236 2 則留言 1 個 reaction 已指派 1 人 已被 @aesmail 認領 在 GitHub 檢視
enhancement
主要語言
Elixir
星號
1.4k
分支
171
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。