SoftwareBrothers / adminjs

AdminJS is an admin panel for apps written in node.js
https://adminjs.co
MIT License
8.07k stars 650 forks source link

[Bug]: Adding Link feature doesn't work in Rich Text Input #1589

Open sachith16 opened 7 months ago

sachith16 commented 7 months ago

Contact Details

sachith.16@cse.mrt.ac.lk

What happened?

In other rich text editors we can add links like this --> Google but in adminjs rich text editor when I click the 'add link' button nothing happens. seems like it's broken.

Bug prevalence

Whenever I try to add a link rich text

AdminJS dependencies version

"@adminjs/design-system": "^3.1.8",
    "@adminjs/express": "^5.1.0",
    "@adminjs/nestjs": "^5.1.1",
    "@adminjs/prisma": "^3.0.1",
    "@adminjs/upload": "^3.0.1",

What browsers do you see the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Relevant log output

No response

Relevant code that's giving you issues

No response

dziraf commented 7 months ago

We currently use TipTap for Rich Text Editor. TipTap only provides API for building the editor, while the UI is something we have to do on our end that's why it's currently so basic since we can't focus all our resources on building and maintaining the editor UI. We should consider switching to i. e.: https://www.npmjs.com/package/@mantine/tiptap as long as it won't increase the bundle size by much.

You can also create your own custom component for Rich Text Editor.

GeekDenCode commented 6 months ago

This bug has been present for at least a year. I updated from version 6.7.2 to 7.5.2 just hoping that this bug was fixed, but was very surprised that it was not. This is a very important feature for CMS. Please fix this.