A quick search turned up these, I'm assuming you're using bootstrap css here though :)
http://jhollingworth.github.io/bootstrap-wysihtml5/
https://mindmup.github.io/bootstrap-wysiwyg/
Not used them myself.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hey all,
I was wondering if any of you knew (or have any examples) of a very simple text area editor like the one used for starting a forum post here.
All I want to happen is that
tags get inserted. Nothing else. At least for now.
The only examples I can find are way too verbose and more for use in a blog post. I am looking for something that maintains the look and feel of the general text area but creates paragraph tags when the enter key is pressed.
Well, it turns out after much pain, this is a very very simple solution that is already built into laravel. And it looks like this:
{!! nl2br(e($text)) !!}
That will handle line breaks and show them in the views properly.
Please or to participate in this conversation.