# Froala Editor Formatting Test

Comprehensive test cases for validating formatting, content preservation, and rich text features in Froala editor.

## 1. Basic Formatting

Bold, Italic, Underline, Strike, Mark, Small, Sup, Sub

Entities: < > & " ' © ® ™ ​

Emoji & symbols: 😀 🚀 ☕ © → ⇢ ✓

مثال على النص العربي مع اتجاه من اليمين إلى اليسار

## 2. Paragraphs / Lists / Blockquotes

Paragraph before list.

- Unordered item 1
- Unordered item 2 with inline formatting

1. Ordered 1
2. Ordered 2

> Blockquote with emphasis.

## 3. Links

HTTPS link · HTTP link · mailto link · tel link · hash link

## 4. Images

## 5. Tables

Col A | Col B | Col C
--- | --- | ---
Rowspan | Cell B1 | Cell C1
Colspan

## 6. Code / Preformatted

    function greet(name) {
      return `Hello, ${name}!`;
    }

`<div class="example">Inline code</div>`

## 7. Line Break Variants

Line A
Line B
Line C
Line D

## 8. Comments & Conditional Comments

## 9. Malformed / Odd Cases

Unclosed tag

Nested incorrectly but should not break editor

## 10. Long Content & Whitespace

This paragraph contains a lot of spacing to test collapsing and non-breaking spaces. End.

## 11. Directionality / Bidi

RTL via dir attribute: שלום עולם

RTL via CSS class: שלום עולם

Primary Button