Closed fantomH closed 8 months ago
I noticed that too. I was looking for a CKEditor alternative.
Looking at the init file you just need to remove Markup from the flask import line, then "pip install MarkupSafe" in your virtual environment, and add "from markupsafe import Markup" to the init file. Works fine after that.
@redredkrovy, thank you for your interest! Currently, it seems that the package is not compatible with Flask 3.0. I greatly welcome you to submit a PR to implement this functionality. In the meantime, I will also try to work on implementing this feature in the coming days.
There is a problem with importing Markup from Flask 3.0.0, thus flask-mdeditor no longer works.
from init.py
Markup has been removed from Flask.
The workaround, for now seems to downgrade Flask to its 2.3.3 version.