I find myself more and more needing to use tables or divs inside my wordpress posts content. The problem I find with this is that one wrong backspace or newline, copy / paste has the possibility to throw off the whole code. Is there a best practices when it comes to adding html inside the content? Is there a way to make it so that the user cannot delete certain things inside posts content?
For Example: On one of my websites I have an accordion. Each accordion content is seperated by
div class="accordContent" but when the user adds a new line inside the current
accordContent div, it ends the current div and creates a new one with the same class that throws off the code.