Sjabloon:Bericht form: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 10: | Regel 10: | ||
--><wsfield type="text" class="form-control" name="Titel" value="{{{Titel|}}}"/><!-- | --><wsfield type="text" class="form-control" name="Titel" value="{{{Titel|}}}"/><!-- | ||
--><div class="mt-4"><b>Bericht</b></div><!-- | --><div class="mt-4"><b>Bericht</b></div><!-- | ||
− | -->{{#widget:editor}}<!-- | + | -->{{#widget:editor|html={{{Bericht|}}} }}<!-- |
− | --><wsfield type="textarea" class="form-control mb-4 d-none" name="Bericht" style="min-height:60vh" > | + | --><wsfield type="textarea" class="form-control mb-4 d-none" name="Bericht" style="min-height:60vh" ></wsfield><!-- |
--></div><!-- | --></div><!-- | ||
--><div class="col-md-4"><!-- | --><div class="col-md-4"><!-- | ||
Regel 35: | Regel 35: | ||
--></div><!-- | --></div><!-- | ||
--></div></div><!-- | --></div></div><!-- | ||
− | --><div class="main-wrapper mt-4"><wsfield type="button" class="btn pull-right" onclick="uploadFiles()" >Opslaan</wsfield><wsfield type="button" class="btn pull-right d-none" onclick="postBericht(this, 'Bericht')" id="real-submit" >Opslaan</wsfield></div><!-- | + | --><div class="main-wrapper mt-4"><wsfield type="button" class="btn pull-right" onclick="document.querySelector('textarea').value = document.querySelector('.__editor').innerHTML;uploadFiles()" >Opslaan</wsfield><wsfield type="button" class="btn pull-right d-none" onclick="postBericht(this, 'Bericht')" id="real-submit" >Opslaan</wsfield></div><!-- |
--></wsform> | --></wsform> |
Versie van 19 aug 2020 20:58
Nieuw bericht maken
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montesPlease log in first.