Closed naritotakizawa closed 5 years ago
I needed to put div.markdownx-preview outside div.markdownx, so forked and added this functionality.
div.markdownx-preview
div.markdownx
widget2.html(override)
<div class="markdownx" dataset-preview=".markdownx-preview"> {% include 'django/forms/widgets/textarea.html' %} </div>
somewhere
<div class="tabs"> <div class="tab1"> <form method="POST" action="">{% csrf_token %} {{ markdownx_form }} ... ... </form> </div> <div class="tab2"> <div class="markdownx-preview"></div> </div> </div>
I needed to put
div.markdownx-preview
outsidediv.markdownx
, so forked and added this functionality.widget2.html(override)
somewhere