Topic: MDBWysiwyg does not work inside MDBModal
clickstudioltd priority asked 1 year ago
This component does not work inside
MDBModal at all. As soon as you press any of the drop down toolbar buttons, the modal goes away probably due to how
MDBDropdown is designed.
There are other issues like if I select a text inside the editor and move the mouse outside of the modal, modal goes away in that way too.
Plus, is there no example on how to save the editor's content into a variable? And how can we load the saved text if it's in plain HTML and not JSX?
Do you have the newest version? In the last release we fixed the
MDBDropdown problem, I checked it, and now it's fully working.
If you want to prevent closing the modal if text is selected, please add
staticBackdrop prop to
MDBModal, then the only way to close modal is by clicking "X" button and clicking the backdrop won't cause closing it.
Last but not least, we added the task for saving the content feature. For now, you could use
querySelector for detecting a content along with
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 5.1.0
- Device: PC
- Browser: Mozilla Firefox
- OS: Windows 10
- Provided sample code: Yes
- Provided link: No