- Issue created by @jjancel
- π«π·France jjancel
with version Drupal-10.1.5 the error disappeared, surprisingly! No ?
following the next update No @jjancel, this problem is not fixed with Drupal 10.1 and 10.2. It happens again without the need for showblock and itβs a serious issue if your editors depend on templates.
I managed to find the solution to this problem and there are 3 things I need to clarify.
1. I think that compressing and minimizing the script of a contributed module should not occur because if something fails it's complicated to resolve.
2. The problem has nothing to do with Show Blocks, the problem is with the code of this module located in the js/build. ShowBlocks is just a victim (I checked it by blocking the functionality from the core).
3. The problem was due to a lack of verification:
Here's the solution π
let firstPosition = t.getFirstPosition();
if (firstPosition !== null) {
let {parent: o} = firstPosition;
for (; o; ) {
if (o.is("element") && s(o))
return o;
o = o.parent
}
return null
} else {
console.log('Error: getFirstPosition() returned null.');
}
In this way, when trying to use the filter that contains the tab of this module, it's not lost.I'll try to upload the patch here, Iβm not very good at submitting patches to the community, I mostly use them locally.
Happy 2024!!!!!!!
Gino Nassi.
Lima-PerΓΊ- π«π·France jjancel
Hello and good year
which line should be corrected in js/build/bootstrapGrid.js
THANKS - π¨π¦Canada b_sharpe
Can you provide details on how to reproduce this? I installed a fresh d10.2 and enable grid and show blocks both with aggregation on and off and can't get any error.
- Merge request !17Issue #3389827 by gino.nassi, b_sharpe: conflict with CKEditor5 Show Block. β (Merged) created by b_sharpe
- π¨π¦Canada b_sharpe
b_sharpe β changed the visibility of the branch 2.0.x to hidden.
- Status changed to Needs review
12 months ago 5:35pm 10 January 2024 - π¨π¦Canada b_sharpe
I can't reproduce, but logically it makes sense to check if null, so see the Merge Request. Marking as needs review.
- π«π·France jjancel
Hello
on a new installation I am blocked by this message
what do I must understand
"The Bootstrap Grid plugin requires another plugin in order to addtags and their
attributes. Enable a plugin that supports adding this tag. If none exists, you You can configure the Edit Source plugin to support these tags."
thank you - π¨π¦Canada b_sharpe
@jjancel that was fixed in π Div not allowed by default. Fixed which currently is only on dev. I'm merging this as its none destructive and will create a new release
-
b_sharpe β
committed f2280a60 on 2.0.x
Issue #3389827 by gino.nassi: conflict with CKEditor5 Show Block
-
b_sharpe β
committed f2280a60 on 2.0.x
- Status changed to Fixed
11 months ago 10:48pm 15 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.