Skip to content

Commit

Permalink
Merge branch 't/14553'
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewand committed Mar 30, 2016
2 parents b666409 + 2dbfd44 commit cc68237
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/plugins/colorbutton/manual/enableautomatic.html
@@ -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_enableAutomatic: false
} );
CKEDITOR.inline( 'editor2' );
</script>
17 changes: 17 additions & 0 deletions tests/plugins/colorbutton/manual/enableautomatic.md
@@ -0,0 +1,17 @@
@bender-tags: 12440, tc, 4.5.8
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, colorbutton, floatingspace

### Scenario 1:

1. Click *Text Color* button in Editor 1.
* **Expected**: There is no *Automatic* option.
1. Click *Background Color* button in Editor 1.
* **Expected**: There is no *Automatic* option.

### Scenario 2:

1. Click *Text Color* button in Editor 2.
* **Expected**: There is *Automatic* option.
1. Click *Background Color* button in Editor 2.
* **Expected**: There is *Automatic* option.

0 comments on commit cc68237

Please sign in to comment.