admin
admin copied to clipboard
textarea editor issue
There an issue with textarea form control. It doesn't encode html entities, so it's not possible to enter and the content. I've tried to use escaped value and it seems to work fine (replace {!$value!} by {{$value}}): views/default/formitem/textarea.blade.php:3
<textarea class="form-control" rows="{{ $rows }}" name="{{ $name }}" @if(isset($readonly))readonly="{{ $readonly }}"@endif>{{$value}}</textarea>
Can this be bad idea somehow? I've used chunk of HTML code as a content and it looks fine in the editor and in the DB afterwards.