Codelabz
Codelabz copied to clipboard
text-editor-added
Description
This pull request introduces significant enhancements to the text editor in the tutorial page. It includes the addition of various formatting options such as:
- Headers
- Bold
- Italic
- Underline
- Strike-through
- Blockquote
- Ordered and unordered lists
- Subscript
- Superscript
- Text color
- Background color
- Font selection
- Text alignment
- Image insertion
- Code block insertion
- Hyperlink functionality The 'clean' option is also added to remove formatting.
Related Issue
solve issue #993
Motivation and Context
The motivation behind these changes is to address the limitations of the previous text editor, which lacked essential formatting features. The enhanced text editor aims to provide users with a more versatile tool for creating interactive and visually appealing tutorials.
Screenshots or GIF (In case of UI changes):
Issue before fixing:
after:
https://github.com/scorelab/Codelabz/assets/90304648/9e5a35f3-4ecf-47ec-95cc-98978158cd35
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes.
- [x] All new and existing tests passed.