To reproduce:
Just played around with this. First thing I recognized is that it doesn鈥榯 matter what kind of conversion is done. Paragraph to heading also leads to non-working lists.
I think there is an event handler inside the flipper component which stops propagation of the keys that are registered in the component.
After further investigating this issue, turns out there is a logic in src/components/modules/toolbar/inline.ts where the order should be the other way around:
this.Editor.Listeners.on(this.nodes.conversionToggler, 'click', () => {
this.Editor.ConversionToolbar.toggle((conversionToolbarOpened) => {
if (conversionToolbarOpened) {
this.flipper.deactivate();
} else {
this.flipper.activate();
}
});
});
When convertion toolbar opens, it should activate, when it is closed, it should deactivate. Currently it is the exact opposite.
Resolved by #1001
Released in 2.17.0
Thanks to @aablinov and @khaydarov
Most helpful comment
After further investigating this issue, turns out there is a logic in
src/components/modules/toolbar/inline.tswhere the order should be the other way around:When convertion toolbar opens, it should activate, when it is closed, it should deactivate. Currently it is the exact opposite.