Revision #155 has been created by rackycz on Oct 13, 2019, 11:45:35 AM with the memo:
« previous (#154) next (#156) »
Yii v2 snippet guide
[...]If you want to allow user to enter html-formatted text, you need to use some HTML wysiwyg editor, because ordinary TextArea can only work with plain text. It seems to me that [Summernote](https://summernote.org/getting-started/#simple-example) is the simplest addon available:
// Add following code to file layouts/main.php ..
// But make sure jquery is already loaded !!
ve in chapter "Adding a google-like calendar"
<!-- include summernote css/js -->
I showed how to save Contacts inqueries into database. If you want to use th
editor in this section, open view conta
st/\_form.php and just add this JS code:
[...]'attributes' => [