Page MenuHomePhabricator

Expose api-stashedit JS to non-legacy textarea editors
Open, LowPublic

Description

Stashes are triggered by changes to #wpTextbox1 and #wpSummary. Extensions which replace the editor, such as CodeMirror (syntax highlighting), CodeEditor & VE wikitext don't use #wpTextbox1.

The jQuery.textSelection module provides a way for other editors to override getting and setting the value of #wpTextbox1, but not an event for when it is changed.

Event Timeline

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

Change 420110 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/core@master] Separate out generic edit stash API helper

https://gerrit.wikimedia.org/r/420110

Krinkle renamed this task from stashedit doesn't work as well non-wpTextbox1 editors to Expose api-stashedit JS to non-legacy textarea editors.Mar 26 2018, 8:23 PM
Deskana edited projects, added VisualEditor; removed VisualEditor (Current work).
Deskana moved this task from To Triage to Freezer on the VisualEditor board.

Removing task assignee due to inactivity, as this open task has been assigned to the same person for more than two years (see the emails sent to the task assignee on Oct27 and Nov23). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome.
(See https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.)

Change 779956 had a related patch set uploaded (by Krinkle; author: Krinkle):

[mediawiki/core@master] PageEditStash: Minor docs and code clean up

https://gerrit.wikimedia.org/r/779956

Change 779956 merged by jenkins-bot:

[mediawiki/core@master] PageEditStash: Minor docs and code clean up

https://gerrit.wikimedia.org/r/779956