__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@editor @editor_atto @atto
Feature: Atto editor with customised toolbar
In order to develop plugins that use Atto for specialised purposes
As a developer
I need to be able to configure Atto toolbar per-instance to include different plugins
Background:
# Get to the fixture page.
Given the following "courses" exist:
| fullname | shortname | format |
| Course 1 | C1 | topics |
And the following "activities" exist:
| activity | name | intro | course | idnumber |
| label | L1 | <a href="../lib/editor/atto/tests/fixtures/custom_toolbar_example.php">FixtureLink</a> | C1 | label1 |
When I log in as "admin"
And I am on "Course 1" course homepage
And I click on "FixtureLink" "link" in the "region-main" "region"
@javascript
Scenario: Confirm that both editors have different toolbars but still function
Then ".atto_link_button" "css_element" should exist in the ".normaldiv" "css_element"
And ".atto_link_button" "css_element" should not exist in the ".specialdiv" "css_element"
And ".atto_bold_button" "css_element" should exist in the ".normaldiv" "css_element"
And ".atto_italic_button" "css_element" should exist in the ".normaldiv" "css_element"
And ".atto_bold_button" "css_element" should exist in the ".specialdiv" "css_element"
And ".atto_italic_button" "css_element" should exist in the ".specialdiv" "css_element"
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| autosave.feature | File | 3.97 KB | 0777 |
|
| behat_editor_atto.php | File | 3.76 KB | 0777 |
|
| clean.feature | File | 3.75 KB | 0777 |
|
| customtoolbar.feature | File | 1.48 KB | 0777 |
|
| direction.feature | File | 1.97 KB | 0777 |
|
| disablecontrol.feature | File | 3.07 KB | 0777 |
|