Editor stand alone inline editing example not working

Editor stand alone inline editing example not working

wblakencwblakenc Posts: 49Questions: 9Answers: 1

Description of problem: The example showing editors stand alone inline editing ability is not functional. Also, is it required to use the attribute type (i.e. data-editor-field) instead of tag type (i.e. <editor-field name="position"></editor-field>)?

Answers

  • wblakencwblakenc Posts: 49Questions: 9Answers: 1

    Also, when I look at my Chrome developer tools I see this JavaScript error: "Uncaught TypeError: Cannot read property '0' of undefined". When I attempted to make a local example, I got the same error.

  • colincolin Posts: 11,280Questions: 0Answers: 1,927

    This thread should help - it's a bug that snuck in with the Editor 2.0 release. Apologies for the inconvenience,

    Colin

  • wblakencwblakenc Posts: 49Questions: 9Answers: 1
    edited April 8

    Thanks Colin. I followed what Allan suggested but that does not appear to fix the issue in 2.0.1. Here is the error I get (using the non minified version):

    datatables.js:19900 Uncaught TypeError: Cannot read property '0' of undefined
        at Editor._inline (datatables.js:19900)
        at datatables.js:18311
        at datatables.js:19647
        at Editor._event (datatables.js:19685)
        at datatables.js:19645
        at Editor._event (datatables.js:19685)
        at Editor._edit (datatables.js:19639)
        at Editor.inline (datatables.js:18310)
        at HTMLElement.<anonymous> (index.cfm?action=jurisdiction:67)
        at HTMLElement.dispatch (jquery-3.5.1.min.js:2)
    
  • wblakencwblakenc Posts: 49Questions: 9Answers: 1

    Another update. I downloaded editor 1.9.6 and the error exists there too (or at least the fix in that other thread doesn't resolve it). Hope this helps.

  • allanallan Posts: 53,561Questions: 1Answers: 8,303 Site admin

    Could you give me a link to your page so I can track it down please? I'm going to do an Editor 2.0.2 release soon which will fix the problem with the standalone inline editing in the examples, but if you've discovered another problem, it would be good to be able to address that.

    Allan

  • wblakencwblakenc Posts: 49Questions: 9Answers: 1

    Working on giving you a link. Stand by.

  • wblakencwblakenc Posts: 49Questions: 9Answers: 1

    Link to site with login credentials sent via direct message.

Sign In or Register to comment.