🇧🇪Belgium @detroz

Account created on 20 December 2013, about 11 years ago
#

Recent comments

🇧🇪Belgium detroz

This patch is compatible with Search API Attachment 9.0.6

🇧🇪Belgium detroz

It's OK for me : now, I can put a div in column or add a template. :D

🇧🇪Belgium detroz

The HTML of my CkEditor template :

<div class="div-background">
<p> Nulla eget volutpat orci. Sed eu diam enim. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin vel leo eu erat volutpat venenatis eget sit amet augue. Nullam faucibus suscipit consectetur.</p>
</div>

When I try to use this template in a HTML field (empty or not), I have this error on the console :

Uncaught CKEditorError: t.parent.getAttribute is not a function
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#erro... is not a function
model: http://hospital.test/modules/contrib/ckeditor_bs_grid/js/build/bootstrap...
a: http://hospital.test/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor...
Yo: http://hospital.test/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor...
fire: http://hospital.test/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor...
_convertItem: http://hospital.test/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor...
_convertChildren: http://hospital.test/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor...
convertChildren: http://hospital.test/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor...
Ms: http://hospital.test/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor...
ckeditor5-dll.js:5:656533

Without the patch 9, the template can be inserted into the HTML field without any problem...

🇧🇪Belgium detroz

For me, the patch solves this issue.
Thanks b_sharpe

🇧🇪Belgium detroz

The patch cannot be apply on CKEditor Bootstrap Grid 2.1.0-alpha2 and Drupal 10.3.1

🇧🇪Belgium detroz

Same problem with Laragon on Windows and Drupal 10.3.1

Here a patch tested on Drupal 10.3.1 and based on the proposed resolution by g089h515r806.

🇧🇪Belgium detroz

Even with the patch #16, I had a lot of problems with the version 8.x-2.1 of BAT module : functions not found, accessCheck() missing on queries, "FALSE" instead of "false" in js files, ... and a very unexpected behavior : impossible to upload or see new images.

There is my patch to solve all this things.

🇧🇪Belgium detroz

Maybe not the best solution, because "drush updb" must be done twice to update this module.
The first time, there is an error with "dismissible_message_bar_update_8905". The second time, the update is done.

🇧🇪Belgium detroz

I have the same problem with node and Sub-pathauto (Sub-path URL Aliases) : when the node's path is changed, the subpaths are always with the previous path and not the new one. For exemple, the local tasks links are wrong now. So, it's not very easily to edit or delete the node in that condition. Only a clear cache resolve that.

I updated the patch #4 to be compatible with Drupal 9.5.x (I didn't yet test it on Drupal 10).

Production build 0.71.5 2024