Jason Lee
|
6a00cfcc4a
|
text_view: Fix HTML render to support blockquote. (#703)
<img width="850" alt="image"
src="https://github.com/user-attachments/assets/4d8f662f-aebe-4c40-bc56-828627f16064"
/>
|
2025-03-10 22:53:53 +08:00 |
|
Jason Lee
|
c3f08d52b9
|
text_view: Add syntax highlight to CodeBlock. (#684)
<img width="1712" alt="image"
src="https://github.com/user-attachments/assets/e7539df4-20db-431b-9bbc-52e08e9de062"
/>
<img width="1712" alt="image"
src="https://github.com/user-attachments/assets/85d52319-1029-4306-8629-ec0321d0571b"
/>
|
2025-03-04 21:50:50 +08:00 |
|
Jason Lee
|
793a35eff2
|
text_view: Fix img height in TextView. (#679)
Close #643
<img width="1103" alt="image"
src="https://github.com/user-attachments/assets/0f0a0af0-8fe2-4322-b012-0f970ba9e13d"
/>
Ref https://github.com/zed-industries/zed/pull/25632
|
2025-03-03 20:51:26 +08:00 |
|
Jason Lee
|
7582ad3fb3
|
text_view: Add heading_base_font_size to TextViewStyle and fix text wrap for list item. (#670)
- Fix list item to wrap text.
<img width="797" alt="image"
src="https://github.com/user-attachments/assets/9e8156ad-bf58-4d7a-a850-69dfcb56c850"
/>
|
2025-02-28 11:43:08 +08:00 |
|
Jason Lee
|
3ba63915ce
|
text_view: Fix some case may lose spaces, <br> in HTML and Markdown render. (#667)
|
2025-02-26 17:52:18 +08:00 |
|
Jason Lee
|
ffa848fb26
|
text_view: Fix markdown table alignment. (#666)
|
2025-02-26 15:49:13 +08:00 |
|
Jason Lee
|
9f429592ce
|
text_view: Remove last paragraph bottom margin. (#660)
Now, we can be easy to use TextView for 1 line text.
## Break Changes
- Removed `inline` method by previous #649 added, this is not needed.
|
2025-02-25 14:27:59 +08:00 |
|
Jason Lee
|
3b4065ce4e
|
text_view: Stop propagation on click link in TextView. (#650)
To avoid trigger parent element, for example as a Label for checkbox.
|
2025-02-24 18:07:53 +08:00 |
|
Jason Lee
|
8fa210bc21
|
text_view: Update Switch, Checkbox, Radio to let label method support TextView. (#649)
- Add `style` method to TextView.
- Add `inline` method to TextView to use default inline style.
|
2025-02-24 15:49:54 +08:00 |
|
Jason Lee
|
06f9178ec4
|
text: Add TextView with Markdown and Simple HTML support. (#639)
|
2025-02-20 20:08:59 +08:00 |
|