moderator-toolbox-nxg-for-reddit / modules/config/components/WikiEditorFooter
modules/config/components/WikiEditorFooter¶
Functions¶
WikiEditorFooter()¶
WikiEditorFooter(
__namedParameters):Element
Defined in: extension/data/modules/config/components/WikiEditorFooter.tsx:40
Renders a revision-note text input and a primary save button, plus a
history dropdown when the editor tab provides a wiki-history API. Picking
a revision loads it into the editor; the save button then writes it back
as a new revision, which is how a wiki rollback works.
Writes the current revision note value into revisionNoteRef on every keystroke
so the parent can read it without subscribing to React state.
Parameters¶
__namedParameters¶
Props
Returns¶
Element