Text Editor
Text Editor
<div class="form-group">
<label for="title" class="col-sm-3 control-label">Event Details</label>
<div class="col-sm-9">
<textarea id="details" name="details" class="summernote">{{isset($event->details)?$event->details:null}}</textarea>
</div>
</div>
<script type="text/javascript">
$('.summernote').summernote({
airMode: true
});
</script>
The Data from this Text Editor- SAVED WITH TAGS - into Database Table
To display data on page without tags - strip_tags() Function is used
Ex: {{strip_tags($blog->body)}}
Comments
Post a Comment