Toggle widget does not show Style options for Content if Icon is not assigned
collindavis opened this issue · comments
Prerequisites
- I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
- The issue still exists against the latest stable version of Elementor.
Description
When editing a Toggle widget you can not style the Content unless there is an icon assigned.
Steps to reproduce
- Add Toggle Widget.
- Remove Icon. This will also remove Active Icon.
- Click Style tab and notice that only Title can be styled. Not Content.
Isolating the problem
- This bug happens with only Elementor plugin active (and Elementor Pro).
- This bug happens with a default WordPress theme active.
- I can reproduce this bug consistently using the steps above.
Environment
System Info
```== Server Environment ==
Operating System: Linux
Software: LiteSpeed
MySQL version: 5.5.5
PHP Version: 7.1.17
PHP Max Input Vars: 3000
PHP Max Post Size: 55M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected
== WordPress Environment ==
Version: 4.9.8
Site URL: https://ncs.cartender.co
Home URL: https://ncs.cartender.co
WP Multisite: No
Max Upload Size: 50 MB
Memory limit: 40M
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
Language: en-US
Timezone: 0
Debug Mode: Inactive
== Theme ==
Name: GeneratePress
Version: 2.1.4
Author: Tom Usborne
Child Theme: No
== User ==
Role: administrator
WP Profile lang: en_US
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36
== Active Plugins ==
Admin Columns Pro
Version: 4.3.7
Author: AdminColumns.com
Admin Columns Pro - Pods
Version: 1.2
Author: Admin Columns
Adminimize
Version: 1.11.4
Author: Frank Bültge
All-in-One WP Migration
Version: 6.76
Author: ServMask
Custom 404 Pro
Version: 2.1.3
Author: Kunal Nagar
Duplicate Post
Version: 3.2.2
Author: Enrico Battocchi
Ele Custom Skin
Version: 1.0.5
Author: Liviu Duda
Elementor
Version: 2.2.1
Author: Elementor.com
Elementor Pro
Version: 2.1.8
Author: Elementor.com
Essential Addons for Elementor - Pro
Version: 2.12.0
Author: WPDeveloper
GP Premium
Version: 1.7.2
Author: Tom Usborne
Header Footer Code Manager
Version: 1.0.6
Author: 99robots
LiteSpeed Cache
Version: 2.5.1
Author: LiteSpeed Technologies
Pods - Custom Content Types and Fields
Version: 2.7.9
Author: Pods Framework Team
Post Types Order
Version: 1.9.3.9
Author: Nsp Code
Public Post Preview
Version: 2.6.0
Author: Dominik Schilling
Shortcoder
Version: 4.1.7
Author: Aakash Chakravarthy
WordPress Importer
Version: 0.6.4
Author: wordpressdotorg
WP Custom Login Page Logo
Version: 1.4.8.3
Author: Lars Ortlepp
WP Google Analytics Events Pro
Version: 2.2.9
Author: PineWise
Yoast SEO
Version: 8.2
Author: Team Yoast
Yoast SEO: Search index purge
Version: 1.1.0
Author: Team Yoast
== Must-Use Plugins ==
closte-requirements.php
Version:
Author:
== Debug ==
Errors:
TypeError: undefined is not an object (evaluating 't.element')
at https://ncs.cartender.co/wp-content/plugins/elementor/assets/js/editor.min.js - 2:66822
2018-09-13 15:47 +00:00
x 492 times
SecurityError: Blocked a frame with origin "https://ncs.cartender.co" from accessing a cross-origin frame.
at https://ncs.cartender.co/wp-content/plugins/elementor/assets/js/editor.min.js - 2:184327
2018-09-12 20:40 +00:00
SecurityError: Blocked a frame with origin "https://ncs.cartender.co" from accessing a cross-origin frame.
at https://ncs.cartender.co/wp-content/plugins/elementor/assets/js/editor.min.js - 2:92360
2018-09-12 20:40 +00:00
TypeError: Cannot read property 'currentView' of undefined
at https://ncs.cartender.co/wp-content/plugins/elementor/assets/js/editor.min.js - 2:217055
2018-09-04 01:04 +00:00
x 5 times
SecurityError: Blocked a frame with origin "https://ncs.cartender.co" from accessing a cross-origin frame.
at https://ncs.cartender.co/wp-content/plugins/elementor/assets/js/editor.min.js - 2:92360
2018-09-01 00:26 +00:00
TypeError: An invalid argument supplied as multiple control value
at https://ncs.cartender.co/wp-content/plugins/elementor/assets/js/editor.min.js - 2:8206
2018-08-31 03:45 +00:00
category: InvalidElementData
tag: Element `undefined` got <30> as `top_position` value. Expected array or object.
TypeError: An invalid argument supplied as multiple control value
at https://ncs.cartender.co/wp-content/plugins/elementor/assets/js/editor.min.js - 2:8206
2018-08-31 03:45 +00:00
category: InvalidElementData
tag: Element `undefined` got <20> as `left_position` value. Expected array or object.
TypeError: An invalid argument supplied as multiple control value
at https://ncs.cartender.co/wp-content/plugins/elementor/assets/js/editor.min.js - 2:8206
2018-08-31 03:42 +00:00
category: InvalidElementData
tag: Element `undefined` got <https://ncs.cartender.co/wp-content/plugins/essential-addons-elementor/assets/img/accordion.png> as `eael_accordion_bg` value. Expected array or object.
x 4 times
TypeError: An invalid argument supplied as multiple control value
at https://ncs.cartender.co/wp-content/plugins/elementor/assets/js/editor.min.js - 2:8206
2018-08-31 03:38 +00:00
category: InvalidElementData
tag: Element `undefined` got <#> as `eael_read_more_text_link` value. Expected array or object.
TypeError: An invalid argument supplied as multiple control value
at https://ncs.cartender.co/wp-content/plugins/elementor/assets/js/editor.min.js - 2:8206
2018-08-31 03:38 +00:00
category: InvalidElementData
tag: Element `undefined` got <https://ncs.cartender.co/wp-content/plugins/essential-addons-elementor/assets/flip-carousel/img/slide.png> as `eael_flip_carousel_slide` value. Expected array or object.
x 7 times
</details>
I should be able to Style the Content of the Toggle widget even if I don't have an icon assigned.
Thanks for reporting.