Account created on 17 April 2014, about 10 years ago
#

Recent comments

🇧🇷Brazil edmargomes

I agree that it needs to be adjusted in the search api as well.

It's in both, as the core calls a render hook that triggers the hook in the search api, preventing the render from being called unnecessarily is important.

This render in the webform is called even if it's not on a webform page or in the webform admin. All it takes is for some module to invoke the tokens that arrive in this function.
However, in the search api, I agree that there needs to be a rule to prevent unnecessary processing. I'm still investigating how to patch it.

🇧🇷Brazil edmargomes

Fix once to use core/once library.

🇧🇷Brazil edmargomes

Example for work today:

let id = $('#edit-container-body-value').attr('data-ckeditor5-id');
Drupal.CKEditor5Instances.get(id).setData(email_content);

you can create a utils like this:

const ckeditorInstanceByElement = (elementId) => {
  let id = $(elementId).attr('data-ckeditor5-id');
  return Drupal.CKEditor5Instances.get(id);
};
🇧🇷Brazil edmargomes

I had a problem applying the .info patch for version 2.0.0

I'm sending the small adjustment here.

🇧🇷Brazil edmargomes

ignore the problem is a custom patch applied after update the module.

🇧🇷Brazil edmargomes

Started the process, I fixed problem with jquery once too.

Sending the first version to get more opinions

🇧🇷Brazil edmargomes

The patch #5 works, but need change to get with one option, or config->storage->get or config->get

Production build 0.69.0 2024