Page MenuHomePhabricator

Preview updated when wikitext editor blurred then focused, but not changed
Closed, ResolvedPublic

Description

If the wikitext input is equal to the value it was when the preview was last updated, there is no need to update the preview.

This appears to only happen after the preview has been updated at least once, and then only happens for one blur-focus, until the preview is updated again.

Event Timeline

Change 808889 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/WikiEditor@master] RealtimePreview: Don't update when wikitext is unmodified

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

Change 808889 merged by jenkins-bot:

[mediawiki/extensions/WikiEditor@master] RealtimePreview: Don't update when wikitext is unmodified

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

Esanders claimed this task.