-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Karol Dawidziuk
committed
May 30, 2021
1 parent
3ab20fd
commit 11711e4
Showing
2 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<div id="editor"> | ||
|
||
<p><strong><i>Test</i></strong></p> | ||
|
||
<p>Test <a id="test" name="test">anchor</a></p> | ||
|
||
<p><sub>te</sub>st test</p> | ||
|
||
<h1>Test heading <strong>styled</strong><em> words</em></h1> | ||
|
||
<ul> | ||
<li>first</li> | ||
<li><strong><em>second</em></strong> item</li> | ||
<li><strong>thrid</strong></li> | ||
</ul> | ||
|
||
<ol> | ||
<li>ordered list</li> | ||
<li>test</li> | ||
</ol> | ||
|
||
<table border="1" cellspacing="1" cellpadding="1" style="width: 100%;"> | ||
<tbody> | ||
<tr> | ||
<td><strong>test</strong></td> | ||
<td><u><em><strong>test</strong></em></u><br></td> | ||
</tr> | ||
<tr> | ||
<td><em>test</em><br></td> | ||
<td><strong><u>test</u></strong><br></td> | ||
</tr> | ||
<tr> | ||
<td><u>test</u><br></td> | ||
<td><strong><em><s><u>test</u></s></em></strong><br></td> | ||
</tr> | ||
<tr> | ||
<td><s>test</s><br></td> | ||
<td><u><s>test</s></u><br></td> | ||
</tr> | ||
<tr> | ||
<td><em><strong>test</strong></em><br></td> | ||
<td><s><em>test</em></s><br></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<script> | ||
var editor = CKEDITOR.replace('editor', { | ||
height: 500 | ||
}); | ||
</script> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@bender-tags: 4.16.1, bug, link, 4728 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: link, toolbar, wysiwygarea, basicstyles, sourcearea, clipboard, enterkey, link, list, liststyle, tabletools, tableselection, undo, format | ||
|
||
Play with the anchors. | ||
|
||
Things to check: | ||
|
||
* creating anchors, | ||
* creating anchors with styled words, | ||
* creating anchors with heavily styled content ( p>em>strong> etc.), | ||
* creating anchors with different paragraph format, | ||
* creating anchors with multiline words, | ||
* modifying existing anchors. | ||
|
||
Notes: | ||
* Testing multiline creating anchors should create anchors for each line. | ||
* Editing a few words with an existing anchor should replace it with one for the entire range. |