Add simple WYSIWYG editor for exercise descriptions
Exercise descriptions are currently HTML, so the user should be able to edit it as well. This HTML is cleaned server side when saving, only the following tags are allowed: 'b', 'i', 'strong', 'em', 'ul', 'ol', 'li', 'p'
Hi, I would like to try resolve this issue, could you assign me?
It's yours :)
This is also in the exercise crowdsourcing branch, like the other issue with the translations
BTW, you can reach the form from the workout tab -> top right menu -> contribute exercise in the description step
This was also merged into master in the meantime btw
@rolandgeider can I use this package https://pub.dev/packages/markdown_editable_textinput as a WYSIWYG editor and configure it ?
Sadly we need HTML for the description. We've been thinking of also allowing to store markdown in the description, but this would need some changes in the backend as well
Sadly we need HTML for the description. We've been thinking of also allowing to store markdown in the description, but this would need some changes in the backend as well
Sorry, I sent you wrong package, I mean this one https://pub.dev/packages/html_editor_enhanced
ah, yes, better 😄
Sure, go ahead
hi @Radiant690 , thanks for asking, but there is already a PR for this (just linked it so it's more obvious)
I just saw that the description field is currently disabled, do you want to take a look @Radiant690 ? I've pulled the branch and solved the current merge conflicts to feature/wysiwyg-description