Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm trying to develop a module to attach react to various sections of my page, and I've just come across an issue that is baffling me. (a cache issue perhaps? I'm not even sure!)
I build my react app into a file called app.bundle.js, and attach it with a library to a block or paragraph. There's a lot more to it, a couple nuances no doubt, but ultimately it works and is really cool.
This is for a side project and I proceeded with several days of happy developing. I foolishly never tested while logged out. No surprise, everything's broken when logged out (of course).
I have created few custom blocks in Drupal 11.2, and could successfully insert them via Layout Builder. But when I want to edit them later on, I don't see the 3 icons to manage the content (move/edit /delete). What could be the causes or is there some change I need to make into the src/Plugin/Block code?
I have a content form that is used to submit data. If an error occurs on submit, the error is displayed on the top of the form. But, even if the user refreshes the page, the error is still there and the field state is also not cleared. I want the form to be cleared and reset to initial state on page reload. It shouldn't retain data.
When I edit text in CKEditor 5, I see extra “,” characters which I want to delete. In the source text (HTML button) these characters are represented by <code><p> , </p></code>. I select this combination with tags, press CTRL+F, all these combinations are selected. I press DEL, only the first selected combination is removed.
The "Find and Replace" button does not work on source code (HTML editor).
How can I delete all selected combinations in HTML?