(feat) O3-3946: Enable Markdown Formatting for question labels #353
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Requirements
Summary
When typing in a question label in the interactive builder, the user should be able to format the question label in markdown format.
To support this, we have added formatting options to the question label input using the Tiptap editor framework.
Enabled Editor Options
The following formatting and functionality options are enabled for enhanced user interaction and content customization:
Screenshots
Creating a question
Editing a question
Screancasts
7.webm
Related Issue
https://openmrs.atlassian.net/browse/O3-3946
Other
The question label is returned as an HTML string. Hence there is a change done in the
openmrs-esm-form-engine-lib
with this openmrs/openmrs-esm-form-engine-lib#408 to parse the string.