Describe the bug
As an administrator, when I paste some text in the WYSWYG editor it can't be pasted.
There's an error in the console related to HistoryOverride
To Reproduce
Steps to reproduce the behavior:
- Sign in as admin
- Go to /admin/organization/edit
- Copy any text, for instance "Hello world"
- Paste it in "Admin terms of use body"
- See that it isn't pasted.
Expected behavior
To be able to paste it
Screenshots
There's an exception in the console

Stacktrace
Full stack trace:
Uncaught TypeError: delta is null
HistoryOverride http://localhost:3000/assets/decidim/editor/history_override.self-1ec3b61182b3dae417faa3e48d30278acfd1af8509d93f8115e45552f02eb099.js?body=1:46
emit http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
value http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
value http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
value http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
e http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
value http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
value http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
t http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
createQuillEditor http://localhost:3000/assets/decidim/editor.self-1bab8705899a60a952ceda190d9f915707361ebe9e6a4b53a78e8e65e534c434.js?body=1:23
quillEditor http://localhost:3000/assets/decidim/editor.self-1bab8705899a60a952ceda190d9f915707361ebe9e6a4b53a78e8e65e534c434.js?body=1:65
jQuery 2
quillEditor http://localhost:3000/assets/decidim/editor.self-1bab8705899a60a952ceda190d9f915707361ebe9e6a4b53a78e8e65e534c434.js?body=1:64
<anonymous> http://localhost:3000/assets/decidim/admin/application.self-25f3b4671b29e7d61087f071dbd01ff6d1ddb6d18787fc4bb0210044eac66075.js?body=1:48
jQuery 13
history_override.self-1ec3b61182b3dae417faa3e48d30278acfd1af8509d93f8115e45552f02eb099.js:46:11
HistoryOverride http://localhost:3000/assets/decidim/editor/history_override.self-1ec3b61182b3dae417faa3e48d30278acfd1af8509d93f8115e45552f02eb099.js?body=1:46
emit http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
value http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
value http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
value http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
value self-hosted:1161
(Async: EventListener.handleEvent)
e http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
value http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
value http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
t http://localhost:3000/assets/quill.min.self-3098f12f957f8621ad68b3ae2c7aff30669f34ad41a0dceca6f09c205520e0c1.js?body=1:8
createQuillEditor http://localhost:3000/assets/decidim/editor.self-1bab8705899a60a952ceda190d9f915707361ebe9e6a4b53a78e8e65e534c434.js?body=1:23
quillEditor http://localhost:3000/assets/decidim/editor.self-1bab8705899a60a952ceda190d9f915707361ebe9e6a4b53a78e8e65e534c434.js?body=1:65
jQuery 2
quillEditor http://localhost:3000/assets/decidim/editor.self-1bab8705899a60a952ceda190d9f915707361ebe9e6a4b53a78e8e65e534c434.js?body=1:64
<anonymous> http://localhost:3000/assets/decidim/admin/application.self-25f3b4671b29e7d61087f071dbd01ff6d1ddb6d18787fc4bb0210044eac66075.js?body=1:48
jQuery 13
mightThrow
process
(Async: setTimeout handler)
resolve
fire
fireWith
fire
fire
fireWith
ready
completed
(Async: EventListener.handleEvent)
<anonymous>
<anonymous>
<anonymous>
Extra data (please complete the following information):
Additional context
Seems to be related to #7070
Describe the bug
As an administrator, when I paste some text in the WYSWYG editor it can't be pasted.
There's an error in the console related to HistoryOverride
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To be able to paste it
Screenshots
There's an exception in the console
Stacktrace
Full stack trace:
Extra data (please complete the following information):
Additional context
Seems to be related to #7070