-
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
Showing
5 changed files
with
115 additions
and
109 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
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
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
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,7 @@ | ||
<div id="editor"> | ||
<p><span style="font-family:Georgia,serif;"><span style="font-size:24px;"><strong><em>This is styled text</em></strong></span></span></p> | ||
</div> | ||
|
||
<script> | ||
CKEDITOR.replace( 'editor', { height: 400 } ); | ||
</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,29 @@ | ||
@bender-tags: 4.6.2, tc, 14856 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: wysiwygarea, toolbar, font, enterkey, elementspath, basicstyles | ||
|
||
## Scenario 1 | ||
|
||
1. Place caret at the beginning of the text. | ||
1. Change font family using Font dropdown. | ||
1. Type something. | ||
|
||
## Scenario 2 | ||
|
||
1. Place caret in the middle of the text. | ||
1. Change font family using Font dropdown. | ||
1. Type something. | ||
|
||
## Scenario 3 | ||
|
||
1. Place caret at the end of the text so that existing styles are recognized. | ||
1. Change font size using Size dropdown. | ||
1. Type something. | ||
|
||
### Expected: | ||
Styles are preserved and typed text is styled in the same way as the rest of the text (with the exception of the styles that were changed). | ||
|
||
### Unexpected: | ||
Some styles are lost after changing font family/size. Typed text is styled differently | ||
(except the one changed style) than the rest of the text. | ||
|