Allows a user to switch between two modes in a page, the edit mode and normal mode.
xxxxxxxxxx
public edit_click() {
Set the body in either edit mode or normal mode, then get the selected table-row(tr) and target the precise theme rather than the entire document. Scroll the table-row(tr) into the center of the view both horizontally and vertically.
xxxxxxxxxx
this.toggle_edit_normal();
//
const tr = this.theme.target!.querySelector('.TR');
//
if (tr !== null)
tr.scrollIntoView({block: 'center', inline: 'center'});
}