Closed CompuIves closed 1 month ago
Hmm, with the latest version in the demo I still see the same issue. The error of EmptyEditorGroup
is gone, but nothing happens when selecting "Reopen Editor With..." on a custom editor. I think it's because the group
is null
in this case, because I also see a new kind of editor from the history service:
Which corresponds to this code (line 182):
Nevermind! It does work here, I forgot to pass the editor group. That said, it's interesting to see that the demo didn't work yet 🤔
I don't know how it can work in your case, since it requires the input toUntyped
method to be implemented to work
:tada: This issue has been resolved in version 5.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
To reproduce:
test.customeditor
It will throw an error, saying
unsupported
, because it's trying to call a function on a mockEditorGroup
:It looks like the custom editors contributed using the
registerCustomEditor
API haveEmptyEditorGroup
as its editor group. It used to work before, but I don't know exactly when it stopped working. I suspect somewhere before version 3.2.x.