__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@core @editor_tiny @javascript
Feature: A user can insert script tag in TinyMCE using the default TinyMCE functionalities.
Scenario: Allow script elements in the editor with the additional HTML plugin disabled.
Given the following config values are set as admin:
| config | value | plugin |
| disabled | 1 | tiny_html |
And I am on the "Profile advanced editing" page logged in as "admin"
And I set the field "Description" to "<p><script>alert('script in tiny');</script></p>"
When I click on the "Tools > Source code" menu item for the "Description" TinyMCE editor
And I click on "Save" "button"
Then the field "Description" matches expression "@<script>.*alert\('script in tiny'\);.*</script>@s"
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| fixtures | Folder | 0777 |
|
|
| behat_editor_tiny.php | File | 12.75 KB | 0777 |
|
| editor_tiny_helpers.php | File | 7.28 KB | 0777 |
|
| manage_subplugins.feature | File | 798 B | 0777 |
|
| scripts.feature | File | 743 B | 0777 |
|