Problem/Motivation
The table markup was changed after the update to Gin 3.0.0-rc5, a new parent node was added for the table, thus breaking the add in between button.
Steps to reproduce
Edit an article with paragraphs, the "Add" buttons do not appear in between paragraphs.
Proposed resolution
Introduce another case in getAddModalBlock for table.parentNode.parentNode
PR
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | fix-add-modal-block_gin.patch | 705 bytes | alex_ieremia |
Comments
Comment #2
alex_ieremia commentedComment #3
alex_ieremia commentedComment #4
alex_ieremia commentedComment #5
alex_ieremia commentedComment #6
alex_ieremia commentedComment #7
fagoreviewed and tested, works good again after applying the patch!
without the patch the add-in-between button are simply gone.
Comment #8
alex_ieremia commentedComment #9
volkerk commentedNeeds patch from https://www.drupal.org/project/gin/issues/3375350 as well, we do not have a dependency on gin, so we cannot add the patch here.