#225 Edytor Markdown'a#278
Open
Qufel wants to merge 23 commits into
Open
Conversation
|
The preview deployment for frontend-testownik-dev is ready. 🟢 Open Preview | Open Build Logs | Open Application Logs Last updated at: 2026-06-13 20:38:32 CET |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Podsumowanie
Dodano edytor markdown wykorzystujący logikę istniejącego już edytora Overtype. Edytor jest dostosowany zarówno do PC jak i urządzeń mobilnych.
Poprawiono renderowanie pytań w quizie, ze względu na złe wyświetlanie markdownu w starej wersji.
Dodano
OverTypeEditorwraz z toolbaremuseOverTypeinicjalizujący referencję do edytoraquestion-card.tsxZmiana w wyświetlaniu pytania
Wyświetlanie pytań obecnie usuwało formatowanie z pierwszej linii tekstu, przez co tekst nie wyświetlał się poprawnie

Po wprowadzeniu zmian przeniosłem tekst "Pytanie" wraz z numerem pytania w celu poprawnego formatowania do osobnego elemntu, rozdzielając treść od numeracji.

Edytor
Domyślnie treść edytora wyświetlana jest w trybie podglądu

Po nacisnięciu przycisku "Edytuj" zmienia się on na "Podgląd" jeśli użytkownik chciałby zobaczyć jak wygląda wygenerowany markdown. W tej chwili możemy dowolnie edytować tekst oraz korzystać z przycisków na toolbarze

W mobilnym widoku toolbar zmienia się na dropdown zawierający wszystkie opcje.
CLOSES #225