This issue was also happening to me and looking at the comments, I agree that the background is not an issue but the position is. Locally, removing the position absolute from .linkit-ui-autocomplete.ui-widget makes everything work as expected, as mentioned by Berdir in comment #11
It seems that for some reason, when you don't have position: absolute set in the css, there's a JS file that sets the position to relative in inline styles which ensures it works properly.
I tried to debug where this came from and it seems to be coming from the jquery.ui file draggable.js, line 407:_setPositionRelative: function() { if ( !( /^(?:r|a|f)/ ).test( this.element.css( "position" ) ) ) { this.element[ 0 ].style.position = "relative"; } },
My proposed solution is to remove the position absolute from the css, unless there's a reason to have it?
For more information, I'm using:
- Drupal v10.2.3
- Linkit v6.1.2
- CKEditor5 v10.2.3- ๐ฆ๐บAustralia VladimirAus Brisbane, Australia
I found CKEditor5 Template module โ
RTBC +1 for MR#10.
One way to test with
ckeditor
module is to add tocomposer.json
... "repositories": [ { "type": "vcs", "url": "https://git.drupalcode.org/issue/ckeditor_templates-3273358.git" }, ...
then run
composer require drupal/ckeditor_templates:dev-mr4-with-patch-146
Admin iterface testing:
- ๐บ๐ธUnited States davedg629
@Joseph.olstad - This has nothing to do with filters. The image upload button needs an "image upload adapter" to actually upload the file somewhere and return a URL that can then be displayed by the editor.
- ๐จ๐ฆCanada joseph.olstad
ya try again with an unfettered full html no html element/attribute filtering, then from there, if it works, you'll at least know it's related to filtering.
- ๐บ๐ธUnited States davedg629
@Joseph.olstad - No, I haven't tried it without any filters. And I'm not getting any js errors in the console.
- ๐จ๐ฆCanada joseph.olstad
@davedg629, are any filtering modes enabled for your text format? I haven't tried the ck5 patch lately but have you tested with an unlocked markup mode like no filtering enabled at all?
- ๐บ๐ธUnited States davedg629
Spent some more time looking into implementing an image upload adapter and it's beyond me. If you want to upgrade to CKEditor 5 and be able to upload images inline with content, you'll need to figure this piece out. At this time, I can't find any modules or code that solves the problem.