Topic: Issue with in WYSIWYG Text Style dropdown – suggestion for fix

Jiří Janda priority asked 7 hours ago


Hi MDB team,

I've started experimenting with your WYSIWYG editor and noticed an issue with the Text Style dropdown items. Currently, each item in the dropdown is rendered as an tag with href="#!", which causes an unwanted redirect when clicked. This disrupts the user experience by navigating away from the page. I found that someone already reported this over a year ago here: https://mdbootstrap.com/support/react/wysiwyg-text-style/. Unfortunately, it seems like there hasn't been any official fix yet. Since we have Premium Support, I’d really appreciate it if you could have someone take a look at it. The problem seems to be in the source code here: MDB React Wyswig JS ✅ Suggested solution: The simplest fix might be to replace the elements with components and update the styling accordingly: tag: "button", className: "btn btn-light" Let me know if this could be officially patched – otherwise we’ll probably keep our local override.

Thanks a lot! Best regards, Jiri Janda



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 9.0.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: Yes