PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, January 5, 2022

[FIXED] Insert data use tinymce in laravel. but display showing css style. how to remove css style in display

 January 05, 2022     laravel-5, php, tinymce     No comments   

Issue

Form Code

{!!Form::open(['url'=>'/about/save','method'=>'POST','enctype'=>'multipart/form-data'])!!}
    <div class="form-group">
        <label for="exampleFormControlInput1">add about</label>
        <textarea type="text" class="form-control" id="exampleFormControlInput1" name="text"></textarea>
        
        {{$errors->has('text')?$errors->first('text'):''}}
        
      </div>
        
      <div class="form-group">
         <button type="submit" class="btn btn-primary">Save</button>
    
      </div>
     
    {!!Form::close()!!}

display form image: enter image description here

font page display with CSS code: enter image description here


Solution

Display your data in view with {!! $text !!} not with {{ $text }}.



Answered By - Daniel
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing