Support » Plugin: Typeform | Create beautiful contact forms & much more » TinyMCE error when editor absent

  • This plugin is creating a JS error when a custom post type doesn’t have ‘editor’ in the ‘supports’ parameter.

    I imagine it’s similar or the same as this one – – which involved the user being on the Text instead of Visual tab of the editor. Same root cause: no TinyMCE. The ‘solution’ given there was to use the Visual editor, but as my scenario shows, this isn’t really a solution.

    It should be easy to either check for the existence of TinyMCE in JS before making calls or references to it. Or you could check in PHP whether the current post type supports ‘editor’ – then you can simply not include any Typeform JS at all.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘TinyMCE error when editor absent’ is closed to new replies.