-
-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add simple WYSIWYG editor for exercise descriptions #189
Comments
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 |
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 |
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'
The text was updated successfully, but these errors were encountered: