Currently the QuickEdit module doesn't work for fields added to content via the Paragraphs module.

At this point I don't know whether the best approach would be to change something in QuickEdit to make it compatible with Paragraphs, or to change something in Paragraphs to make it compatible with QuickEdit - or both.

To reproduce, install and enable paragraphs and paragraphs_edit modules with Drupal core 8.3.x-dev.
Create a paragraph type with some fields: i.e. text, text area, and image fields.
Create a content type with a Paragraphs field that includes your paragraph type.
Create a node with this content type and view it.
The paragraphs_edit module makes contextual links available on Paragraphs content, including the Quick Edit link.
Click the Quick Edit link, and try to make edits to the Paragraphs fields.

Here is what I found:
The QuickEdit toolbar is blank except for the 'X' to close.
You can type in the paragraph text fields, but there is no button to save your changes. There are no other buttons appearing in the toolbar.

Errors like the following appear in the Console when using Quick Edit with paragraphs fields:
Uncaught TypeError: Cannot read property 'toString' of null
at Object.Drupal.checkPlain (js_5dhzai3qeO3Jt9k1xn9u5IxkNLu__35K784pGSe_MDs.js:299)
at n.label (js_5dhzai3qeO3Jt9k1xn9u5IxkNLu__35K784pGSe_MDs.js:7313)
at n.render (js_5dhzai3qeO3Jt9k1xn9u5IxkNLu__35K784pGSe_MDs.js:6938)
at _ (js_5dhzai3qeO3Jt9k1xn9u5IxkNLu__35K784pGSe_MDs.js:12)
at m (js_5dhzai3qeO3Jt9k1xn9u5IxkNLu__35K784pGSe_MDs.js:12)
at f (js_5dhzai3qeO3Jt9k1xn9u5IxkNLu__35K784pGSe_MDs.js:12)
at n.l.trigger (js_5dhzai3qeO3Jt9k1xn9u5IxkNLu__35K784pGSe_MDs.js:12)
at n.set (js_5dhzai3qeO3Jt9k1xn9u5IxkNLu__35K784pGSe_MDs.js:12)
at n.set (js_5dhzai3qeO3Jt9k1xn9u5IxkNLu__35K784pGSe_MDs.js:4631)
at n.stateChange (js_5dhzai3qeO3Jt9k1xn9u5IxkNLu__35K784pGSe_MDs.js:4887)

It seems to me that the checkPlain calls above are throwing errors to console when the fieldLabel and entityLabel variables are null in EntityToolbarView.js.

Comments

degoethe created an issue. See original summary.

anthonyf’s picture

Category: Plan » Bug report
GiorgosK’s picture

a maintainer of paragraphs has acknoledged this so maybe it will be solve at the paragraph level and probably this issue should be closed

GiorgosK’s picture

Status: Active » Closed (works as designed)
Related issues: +#2476863: [META] Integrate more nicely with quick edit

a more involved discussion from paragraphs