ita-social-projects / ita-social-projects/StreetCode_Client

[RQ Text Editor] Remove unnecessary paddings between paragraphs everywhere

Open
#1,098 0 comments 0 reactions 2 assignees Claimed by @DariaAntonenko View on GitHub
bug styles
Dominant language
TypeScript
Stars
15
Forks
10
PR merge metrics
No merged PRs in 30d

Description

### **Bug description**
For the correct appearance of texts created with our old text editor TinyMCE, we had to manually add some indents between paragraphs. Now the new editor ReactQuill can format paragraphs correctly, so **all these styles can be removed, because their presence will distort the appearance**.

### **Example with news (too big indents):**
![image](https://github.com/ita-social-projects/StreetCode_Client/assets/113370393/00cc7353-8406-45ee-90d0-40f6cfd3eaae)
Manually added indents:
![image](https://github.com/ita-social-projects/StreetCode_Client/assets/113370393/5f249279-9d0f-4924-b5c9-efd49e3dcb3c)

### **Expected result:**
![image](https://github.com/ita-social-projects/StreetCode_Client/assets/113370393/f110e9ae-ea38-42b0-8321-69a9f146500e)
![image](https://github.com/ita-social-projects/StreetCode_Client/assets/113370393/b771b489-3b16-45aa-a919-09aae619eab1)

### **Blocks that need to be checked:**
- [ ] Main text
- [ ] For fans
- [ ] News
- [ ] Vacancies

### IMPORTANT!!!
Check if all the indents are preserved in 4 blocks above in the editor text field when opening modals.
![image](https://github.com/ita-social-projects/StreetCode_Client/assets/113370393/092d28b5-4237-4862-9bde-23f7f7e046e0)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.