Voyager: Issue with laravel voyager rich text editor

Created on 6 Apr 2017  路  4Comments  路  Source: the-control-group/voyager

  • Laravel Version: #.#.#
  • Voyager Version: #.#.#
  • PHP Version:
  • Database Driver & Version:

Description:

I have selected rich text editor for my one of column in database and I have inserted the record successfully from rich text editor into database my issue is that when I display that column that it also display the paragraph tag

<\p> as well as other tags can some body help me that how can I describe that data without any tag into my front end page of my website

Steps To Reproduce:

Most helpful comment

Try to display your data through {!! !!} brackets.
Example: {!! $post->body !!}

All 4 comments

Can you show us the contents of one of those values directly from the database? I'm guessing the RTE value is being html_encoded when storing, and you're not decoding it before displaying it.

Try to display your data through {!! !!} brackets.
Example: {!! $post->body !!}

You can try what @waiaitch said. More info here.

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

Was this page helpful?
0 / 5 - 0 ratings