Support » Plugin: CodeMirror Blocks » Fails on Multiple Use

  • Resolved thedatacrew

    (@thedatacrew)


    Hi,

    When used multiple times, the first one works and then it stops working.

    Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
        at Object.t.addPanel (init.min.js?ver=1583770226:1)
        at Object.t.codeMirrorInit (init.min.js?ver=1583770226:1)
        at Object.t.frontEndInitialization (init.min.js?ver=1583770226:1)
        at init.min.js?ver=1583770226:1

    Which is on line 79 of init.min.js :-

    l.className = "language " + o.language.toLowerCase()) : "file" != window.wpcm.panelOptions.languageLabel && "file" != o.languageLabel || (l.textContent = o.fileName ? o.fileName : o.language,

    Regards

    Toby.

    • This topic was modified 1 year, 3 months ago by thedatacrew.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fails on Multiple Use’ is closed to new replies.