Page MenuHomePhabricator

Charinsert in editnotice does not work in NWE
Open, Needs TriagePublic

Description

Charinsert can be used inside an editnotice to help users insert page-specific characters/elements/templates ... into the editor. However, this does not work in NewWikitextEditor. I assume that is because of the cursor not being focused if I click on something in the editnotice, which overlays the editor in NWE.

This can be seen e.g. with this editnotice when trying to edit this page in NWE, the template / template parameters cannot be inserted via charinsert.

Any ideas on how to fix this issue? I remember having problems with the cursor losing focus just because i clicked to close the editnotice in NWE before.

Related Objects

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I don't think there is any intention to support this going forward. It was never what the functionality was supposed to be used for and near impossible to support reliably across multiple platforms (like iOS/Android apps for instance).

Fair enough, it should be a relatively rare use case anyway. But the cursor losing focus when clicking the editnotice seems like a general bug to me; if fixing that problem made charinsert work in NWE as well (I have no idea about whether the two things are related at all, just as an idea), great, otherwise there is little need to work on this any further, I agree.