SoftwareBrothers / adminjs-design-system

DesignSystem on which AdminJS is based on
28 stars 33 forks source link

feat: Rich text #36

Closed ariansobczak-rst closed 2 years ago

ariansobczak-rst commented 2 years ago

Resigned from Quill rich text editor and replaced with TipTap (https://tiptap.dev/) Introduced a simple menu bar image image

dziraf commented 2 years ago

I'd also check if Quill allows to embed images since we'd need the same for Tiptap.

ariansobczak-rst commented 2 years ago

I'd also check if Quill allows to embed images since we'd need the same for Tiptap.

Added like in Quill base64 representation of an image to handle inline images.

robikovacs commented 2 years ago

Hey @ariansobczak-rst, How do I customize tiptap? Just pass the following to the AdminJS options?

custom: {
   extensions:  { ... }
}

To add a bit more context, I want to be able to embed images, and set an image URL. I don't want to use base64 representation.

ariansobczak-rst commented 2 years ago

Hi @robikovacs, yes you can pass editor options as a configuration. Unfortunately, I didn't try other image uploads but please don't hesitate to ask in our community https://adminjs.page.link/slack :)