aesmail / aesmail/kaffy

[FEATURE-REQUEST] Support for CKEditor Super Build

Aberta
#236 2 comentários 1 reação 1 responsável Reivindicada por @aesmail Ver no GitHub
enhancement
Linguagem predominante
Elixir
Estrelas
1.4k
Forks
171
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.