Problem/Motivation
The ckeditor on the admin side reveals that there is text in the
Steps to reproduce
- In a ckeditor5 text editor in the admin side: Add an accordion.
- Add row title.
- Add row content.
- Save node.
- View page.
- Row content is there, but row title is not in the source code.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | issue-is-not-in-fresh-adaptive-theme.png | 108.73 KB | ravi kant |
| #6 | working-as-accepted.png | 48.01 KB | ravi kant |
| #3 | issue-3371792-3-textcontent.patch | 8.76 KB | risse |
| Screen Shot 2023-07-01 at 1.39.06 PM.png | 49.72 KB | utcbrij | |
| Screen Shot 2023-07-01 at 1.27.20 PM.png | 9.33 KB | utcbrij |
Issue fork ckeditor_accordion-3371792
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
utcbrij commentedComment #3
risse commentedI am having the same issue, the problem is that the "innerText" property is not working in JS, I think it's due to it not being rendered / is hidden.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText
If you replace it with "textContent" it works. Attached is a patch.
Comment #6
ravi kant commented@UTCbrij
The issue did not regenerate for me.
I am using -
May i know what is your project Drupal version?
Also the issue may be due to any jQuery and javascript bug.
Comment #7
uv516 commentedI had the same problem:
Drupal 10.2.5, Adaptivetheme
My settings:
The patch in #3 helped me.
Comment #8
ravi kant commentedI am not getting error on Drupal 10.2.3 with Default Olivero theme.
So i am sure that issue is due to Adaptivetheme so checking for Adaptivetheme theme.
Comment #9
ravi kant commentedThe issue is also not more me in new sub theme of Adaptivetheme.
So the issue is in custom work in custom theme.
Comment #10
marieascomedia commentedGot the issue with drupal 10.2.7 and Olivero child theme.
Same settings as #7.
The patch in #3 helped me to.