I am learning Bootstrap and would like to have a wysiwyg editor. I found bootstrap-wysiwyg and want to use it.
http://mindmup.github.io/bootstrap-wysiwyg/
However, I cannot figure out how to get formatted text on the server-side when a form is submitted.
In the Content Type Builder page, add the Rich Text Editor (RTE) field to it. In the Edit Properties section of the RTE field, under Editor Version, select Latest. Under the Editor Type, select Custom, and choose the formatting options you want to include in the RTE field.
Bootstrap WYSIWYG Editor is a lightweight plugin that enables rich text editing on your website. To start working with sortable plugin see "Getting Started" tab on this page.
<textarea class="textarea" name="mytext" placeholder="Enter text ..." style="width: 810px; height: 200px"></textarea>
use val()
$('.textarea').wysihtml5();
$('.textarea').val();
http://jsfiddle.net/suhailvs/vNPAJ/3/
you can get it as post
request.POST['mytext']
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With