-
Notifications
You must be signed in to change notification settings - Fork 52
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
Need rich text functionality in the quiz/mini-quiz components. #209
Comments
Hi @elPiablo ! So far I didn't found a rich text for @elPiablo do you have any example to share? Here is a list of some rich text editors: https://blog.bitsrc.io/top-5-rich-text-editors-for-react-in-2021-628fecf0f7e0 Let's continue the talk and think together the best solution for this. At first sight, if we use a rich text editor it will need to have it's own page to be used, like a Allright! Regards!! Note: this is not a bug |
Hey @Markkos89 -- check out https://interweave.dev/ -- it's a React component for displaying formatted text, rendering links, etc. |
Draft.js is also a fantastic rich text editor for React component Draft.js |
Hey @Markkos89 |
Hey @Markkos89 Sorry that I have overlooked a lot of things in Github Issues. I need to get in and clean out some cobwebs! 😄 There are a lot of examples of I know your really busy, and it's a 'nice-to-have', so no pressure for v2 |
At the moment, we don't have any rich text functionality in the quizzes and mini-quizzes. But we are limited to using quotes and back ticks, which is a bit ugly/messy, and it means we can't have good and predictable writing conventions.
Sometimes we need to highlight a
piece of code
in the questions and possible answers, so that it is quickly identifiable to and easy to differentiate from other text for the learner:Q. What does the
tokenTier
mapping do?A. It maps the token ID to its corresponding tier.
A. It maps
tokenTier
to thetotalSupply
.Sometimes we want to highlight a word, where italics would be appropriate:
Q. What does the term gas refer to in the context of Ethereum?
Sometimes we need text in bold to really stress something.....that we really want to stress.
Q. What is a private key?
A. A key that gives total access to whomever holds it to have full control of an account and its assets
And then we need to agree on when and where to use them (so we can add a footnote to our lesson template guidelines doc)
The text was updated successfully, but these errors were encountered: