|
|
$body.on('click', 'input#wikieditor-toolbar-replace-replace', function() {
$(this).replaceWith( $('<textarea>', {id: "wikieditor-toolbar-replace-replace", tabindex:10})
.keydownon('keydown keypress', e => { if (e.key == 'Enter') { e.stopPropagation(); } }) );
});
}
|