Skip Navigation

[Resolved] Can't enable Text mode of content editor

This support ticket is created 6 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 7 replies, has 2 voices.

Last updated by Shane 6 years, 4 months ago.

Assisted by: Shane.

Author
Posts
#949285

I am trying to: Click "Text" mode in content editor instead of "Visual", but "text" mode doesn't switch on.

Link to a page where the issue can be seen: hidden link

I expected to see: "Text" mode of editor is not enabling. If I disable "Toolset Maps" plugin, I get expected behaviour - "Text" mode of editor enables.

Instead, I got: Javascript errors, see screenshot.

#949349

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for contacting our support forum.

This is occurring in our Layouts plugin correct?

Please let me know.

Thanks,
Shane

#949355

Yes, Layouts + Maps.

#950309

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I checked this on my end and it works fine.

Would you mind providing me with admin access to the site so that I can see the issue on your end?

The private fields have been enabled.

Thanks,
Shane

#950486

Interestingly editor works as expected (possible to switch between "Visual" and "Text" mode) in WPML Translation Editor even with Layouts Maps enabled. However, switching to WordPress editor doesn't allow switching between "Visual" and "Text" mode throwing following errors:

jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1
wpv_addon_maps.js?ver=1.5.1:13 Uncaught ReferenceError: google is not defined
    at new WPViews.ViewAddonMaps (wpv_addon_maps.js?ver=1.5.1:13)
    at HTMLDocument.<anonymous> (wpv_addon_maps.js?ver=1.5.1:1312)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)
WPViews.ViewAddonMaps @ wpv_addon_maps.js?ver=1.5.1:13
(anonymous) @ wpv_addon_maps.js?ver=1.5.1:1312
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
ready @ jquery.js?ver=1.12.4:2
K @ jquery.js?ver=1.12.4:2
quicktags.min.js?ver=4.9.7:1 Uncaught TypeError: Cannot read property 'bs_component_show_hide_button' of undefined
    at QTags.i.getButton (quicktags.min.js?ver=4.9.7:1)
    at ToolsetCommon.BootstrapCssComponentsQuickTags.self.add_bootstrap_components_buttons (toolset-bs-component-buttons.js?ver=4.9.7:122)
    at toolset-bs-component-buttons.js?ver=4.9.7:21
    at d (toolset-event-manager.min.js?ver=1.0:1)
    at Object.j [as doAction] (toolset-event-manager.min.js?ver=1.0:1)
    at HTMLDivElement.<anonymous> (toolset-bs-component-events.js?ver=1:213)
    at Function.each (jquery.js?ver=1.12.4:2)
    at toolset-bs-component-events.js?ver=1:209
    at underscore.min.js?ver=1.8.3:5
QTags.i.getButton @ quicktags.min.js?ver=4.9.7:1
self.add_bootstrap_components_buttons @ toolset-bs-component-buttons.js?ver=4.9.7:122
(anonymous) @ toolset-bs-component-buttons.js?ver=4.9.7:21
d @ toolset-event-manager.min.js?ver=1.0:1
j @ toolset-event-manager.min.js?ver=1.0:1
(anonymous) @ toolset-bs-component-events.js?ver=1:213
each @ jquery.js?ver=1.12.4:2
(anonymous) @ toolset-bs-component-events.js?ver=1:209
(anonymous) @ underscore.min.js?ver=1.8.3:5
setTimeout (async)
m.delay @ underscore.min.js?ver=1.8.3:5
E @ underscore.min.js?ver=1.8.3:5
r @ underscore.min.js?ver=1.8.3:5
(anonymous) @ toolset-bs-component-events.js?ver=1:205
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
ready @ jquery.js?ver=1.12.4:2
K @ jquery.js?ver=1.12.4:2
plugin.min.js?ver=4711-20180425-tadv-4.7.11:1 Deprecated TinyMCE API call: <target>.onBeforeSetContent.add(..)
#950506

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Since i'm not able to see this on my local host I need to check it on your site.

Could you let me know one layout where this issue persists?

I see the js error you sent but want to check for browser compatibility as well.

Thanks,
Shane

#956456

At the moment I have disabled Maps plugin and the issue is solved. I will try to clone site to development environment where I could give access to investigate.

#956652

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Gytis,

I've enabled the private fields for your next response.

Thanks,
Shane