Problem/Motivation
After updating the module to the current version, the function is broken. Both administrators and authenticated users have no more buttons.
The following errors are thrown in the dev console, see screenshot.
Steps to reproduce
- update module to 1.15, cache clear
- call a node with paragraphs or nested paragraphs
- no buttons are displayed anymore
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | Screen Shot 2022-02-02 at 4.17.21 PM.png | 20.56 KB | apmsooner |
| Xnip2022-01-14_21-19-33.png | 280.75 KB | zcht |
Issue fork paragraphs_ee-3258673
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
chr.fritschParagrapghs features has now it's own quick links functionality. This needs to be fixed in paragraphs ee
Comment #4
stborchertParagraphs Features introduced the quick links in version 1.13 by copying main parts/concepts of Paragraphs Features. This results in breaking everything here.
I asked for a patch upfront but that didn't happen ...
Comment #7
stborchertI've rewritten lots of code to make Paragraphs Editor Enhancements work again after the changes introduced in Paragraphs Features 1.13 and committed the changes to develop. A full release will follow soon.
Comment #8
stborchertI've decided to create a new major release so all changes made for the compatibility are now in version 2.0.0.
Comment #9
stborchertComment #10
apmsooner commentedI just updated to 2.0.0 and similar problem as described still exists although the buttons are there, they are unstyled and non-functioning.
Attached screenshot to show what i'm seeing. The form display settings are set to use modal form as add mode.
Comment #11
apmsooner commentedComment #12
stborchertThanks for the feedback.
Minutes after releasing 2.0.0 I updated the code so the module won't do its magic if "Add in between" hasn't been enabled. I saw that the dialog contents are displayed below the button (as in your screenshot) and hid them.
That seemed like a good idea a few hours ago but now I see that the dialog should still be pretty if do not you use "add in between" ... hm.
Stay tuned, I will post an update soon.
Comment #14
stborchertPlease test using the latest development version (either using
composer require 'drupal/paragraphs_ee:2.0.x-dev@dev'or download the release directly).Comment #16
apmsooner commented@stBorchert - I've tested that dev version and confirm its all working good now. Thanks!
Comment #17
apmsooner commentedComment #18
stborchertGreat to hear. Meanwhile I've create a new release so you can simply use version 2.0.1 :)
Comment #19
apmsooner commentedI noticed that but the default version seems to still be referencing 2.0: https://www.drupal.org/project/paragraphs_ee/releases/2.0.1
Comment #20
stborchertYou mean the composer command? Nope, that gets everything >=2.0 which is (for now) 2.0.1.