- Issue created by @selinav
- 🇬🇧United Kingdom Frosty29
Not sure exactly of the question but I just used this module for the first time and had to work out the steps.
I enabled the filter option "Embed Block" in my text format/editor.
My block was from a View - I "placed" this in "Auto hidden blocks".
In that blocks display I used Devel in the drop down to look at Variable under Load and see this:
[settings:protected] => Array [id] => views_block:last_updated-block_latest_updateAnd that is what to use in the text area {block:views_block:last_updated-block_latest_update}
Works a treat! - 🇨🇦Canada joseph.olstad
It's pretty simple, this module is nearly useless without this TOTALLY AWESOME patch that has not been merged.
Here it is:
✨ Embed Block CKEditor Enhancement Needs work - 🇨🇦Canada joseph.olstad
I'm contemplating forking this project so that we don't have to use the patch and can work on ckeditor5 compatibility and expect a tagged release.
- 🇨🇦Canada joseph.olstad
"drupal/embed_block": { "3225938 - Added CKEDITOR plugin functionality": "https://git.drupalcode.org/project/embed_block/-/merge_requests/2.diff" },
- 🇫🇷France lazzyvn paris
I think I will create new module base on this module, that support all type of block, (custom module block, block from view, content block). It can call ajax for preview block. I can add custom library (in case of using custom js), customize more html class, attribute...
- 🇨🇦Canada joseph.olstad
+1 merci bcp @lazzyvn
J'ai hâte pour ça !Svp partager le nom ou un lien vers ce nouveau module
- 🇫🇷France lazzyvn paris
@joseph.olstad
tu peux trouver d'ici CkEditor 5 insert block →
Ce n'est pas encore parfait. Si tu as le temps, peux-tu l'améliorer ?