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
6 changed files
with
112 additions
and
18 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
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,16 @@ | ||
<p>Editor 1</p> | ||
<textarea cols="80" id="editor1" name="editor1" rows="10"> | ||
<p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p> | ||
</textarea> | ||
|
||
<p>Editor 2</p> | ||
<div contenteditable="true" id="editor2"> | ||
<p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans Neil Armstrong and Buzz Aldrin, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p> | ||
</div> | ||
|
||
<script> | ||
CKEDITOR.replace( 'editor1', { | ||
colorButton_colorsPerRow: 10 | ||
} ); | ||
CKEDITOR.inline( 'editor2' ); | ||
</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,17 @@ | ||
@bender-tags: 16733, tc, 4.6.2, config | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: wysiwygarea, toolbar, colorbutton, colordialog, floatingspace | ||
|
||
### Scenario 1: | ||
|
||
1. Click *Text Color* button in Editor 1. | ||
* **Expected**: It has 10 colors in each row (except the last one which has 4). | ||
1. Click *Background Color* button in Editor 1. | ||
* **Expected**: It has 10 colors in each row (except the last one which has 4). | ||
|
||
### Scenario 2: | ||
|
||
1. Click *Text Color* button in Editor 2. | ||
* **Expected**: It has 6 colors in each row. | ||
1. Click *Background Color* button in Editor 2. | ||
* **Expected**: It has 6 colors in each row. |