| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <head>
- <link rel="stylesheet" href="%APPS_DIR%ckeditor/build/modules/amd/theme/ckeditor.css">
- </head>
- <div style="float: left; width: 50%; padding: 10px; box-sizing: border-box">
- <h1>Editor 1: [dir=rtl]</h1>
- <p>(Note: The editable gets dir=rtl attribute.)</p>
- <div id="editor1">
- <h2>ش ز ذ ي ث ب</h2>
- <h3>ل ا ه ت ن</h3>
- <p><em>م و ر خ</em> ح ض ق س <strong>ف ع ص</strong> ط غ ظ.</p>
- </div>
- <h1>Editor 2: [dir=ltr], mixed content</h1>
- <div id="editor2">
- <h2>Heading 1</h2>
- <h3>ل ا ه ت ن</h3>
- <p><em>This</em> ح ض an <strong>ف ع ص</strong> ط غ ظ.</p>
- </div>
- </div>
- <div style="float: right; width: 50%; padding: 10px; box-sizing: border-box">
- <h1>Native 1: [dir=rtl]</h1>
- <p>(Note: The editable has dir=rtl attribute.)</p>
- <div id="native1" contenteditable="true" dir="rtl" style="border: solid 1px grey">
- <h2>ش ز ذ ي ث ب</h2>
- <h3>ل ا ه ت ن</h3>
- <p><em>م و ر خ</em> ح ض ق س <strong>ف ع ص</strong> ط غ ظ.</p>
- </div>
- <h1>Native 2: [dir=ltr], mixed content</h1>
- <div id="native2" contenteditable="true" style="border: solid 1px grey">
- <h2>Heading 1</h2>
- <h3>ل ا ه ت ن</h3>
- <p><em>This</em> ح ض an <strong>ف ع ص</strong> ط غ ظ.</p>
- </div>
- </div>
|