When setting Insert-View button to active, the CKEditor5 toolbar vanishes when editing the Textformat

Created on 22 July 2024, 9 months ago
Updated 23 July 2024, 9 months ago

After upgrading Drupal to 10.3.1 and insert_view_adv to version 2.0-alpha3 the CKEditor toolbar vanished for text format "Full HTML" but was shown with other text formats.
Digging deeper I've found that placing the insert view button on the active toolbar was the trigger. Ticking just the checkbox for "Advances insert View" and configuring it didn't change the CKEditor behavior.

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇩🇪Germany wla_g

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @wla_g
  • 🇩🇪Germany a.dmitriiev

    Please provide more information:

    1. What was the previous version of Drupal you were using before upgrade to 10.3.1.
    2. What was the previous version of the module you were using before upgrade to 2.0.0-alpha3
    3. Do you see any errors in developer console of the browser (the console appears when you do right click on any element of the page and then click on "Inspect" menu item, the developer console has "Console" tab. It would be helpful to see whether there are any errors there, and if possible, add the screenshots to the issue)?
  • 🇩🇪Germany wla_g

    Thanks for the hint to the console. I've found the culprit. Loading of adv/is/build/insert view adv.js was blocked by my adblocker.
    After disabling the adblocker the page loaded with the insert_view button shown. Clicking on that button worked as expected.
    Maybe the js-file should be renamed if it triggers adblocker.

  • Status changed to Closed: duplicate 9 months ago
  • 🇩🇪Germany a.dmitriiev

    Yes, there is already an issue about the ad blocker, so it seems that I have to revisit it and try to change the JS file name. I will close this one as a duplicate

Production build 0.71.5 2024