Editor stand alone inline editing example not working
Editor stand alone inline editing example not working
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>)?
This question has accepted answers - jump to:
This discussion has been closed.
Answers
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.
This thread should help - it's a bug that snuck in with the Editor 2.0 release. Apologies for the inconvenience,
Colin
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):
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.
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
Working on giving you a link. Stand by.
Link to site with login credentials sent via direct message.
@allen, I know you have a lot of things going on right now, but I wanted to make sure you got the login credentials. Hopefully, I sent them to the correct person.
Thanks for all you do!
Sorry - I've just send a PM back!
Allan
Thanks Allan. That resolved my issue. I thought I had fixed it per the thread. Anyway, it is working now.
Now I have a related question. In my application, if you are an admin you will see a table of data which editor will be used to, well, edit that data. However, if you are not an admin, you should only see your data (not even the table). I was hoping the stand alone inline editor could function like the normal editor, just not in a modal. Any chance that is an feature I am missing some place? Or is this where I build a new display controller?
Again thanks for all you do!
You'll need to explain that to me a little more I'm afraid. The normal Editor does use a modal, unless you are using inline editing which the example we were working on shows?
Do you mean you want multiple fields to be inline editable at once while standalone editing? I'm afraid that is not a feature of Editor at this time. Editor 2 does have that ability for table rows but not for standalone editing I'm afraid.
Allan