This patch is compatible with Search API Attachment 9.0.6
It's OK for me : now, I can put a div in column or add a template. :D
erik.erskine → credited 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...
For me, the patch solves this issue.
Thanks b_sharpe
The patch cannot be apply on CKEditor Bootstrap Grid 2.1.0-alpha2 and Drupal 10.3.1
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.
This patch works with BAT 8.x-10.1-rc3 and Drupal 10.2.2
The patch works my website in Drupal 10.1
Little correction in my patch ;)
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.
Patch for 8.x-2.x-beta1
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.
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).
There is a little bug with the date format in some languages...
detroz → created an issue.
detroz → created an issue.
detroz → created an issue.
detroz → created an issue.
For the 8.x-1.3 version :