1
How to make a script so that when I click the edit button, automatically my div will be editable and the save button appears that when clicked will disappear and my div will again be non-editable?
<div class="texto" contenteditable="false">
<p class="meu-texto" ><center>Meu texto Que sera editado</center></p>
</div>
<button class="editar">Editar</button>
<div class="hide" id="salvar-frase"><button class="btn-editar">Salvar</button></div>